Skip to content

Commit 5cca5dd

Browse files
committed
Add screenshots
1 parent f0b6afd commit 5cca5dd

File tree

6 files changed

+299
-7
lines changed

6 files changed

+299
-7
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.png filter=lfs diff=lfs merge=lfs -text

README.md

+23-7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ implementation, reusing some of the static fallback lists in browsers such as
1616
Chromium and Firefox. Linux, macOS, and Windows are supported with the full
1717
feature set. Other platforms may need to implement font fallback capabilities.
1818

19+
## Screenshots
20+
21+
Arabic translation of Universal Declaration of Human Rights
22+
[![Arabic screenshot](screenshots/arabic.png)](screenshots/arabic.png)
23+
24+
Hindi translation of Universal Declaration of Human Rights
25+
[![Hindi screenshot](screenshots/hindi.png)](screenshots/hindi.png)
26+
27+
Simplified Chinese translation of Universal Declaration of Human Rights
28+
[![Simplified Chinses screenshot](screenshots/chinese-simplified.png)](screenshots/chinese-simplified.png)
29+
1930
## Roadmap
2031

2132
The following features must be supported before this is "ready":
@@ -51,14 +62,19 @@ The following features must be supported before this is "ready":
5162
- [x] Can automatically recreate https://unicode.org/udhr/ without errors (see below)
5263
- [x] Bidirectional selection
5364
- [ ] Copy/paste
65+
- [x] no_std support (with `default-features = false`)
66+
- [ ] no_std font loading
67+
- [x] no_std shaping
68+
- [x] no_std layout
69+
- [ ] no_std rendering
5470

55-
The UDHR (UN Declaration of Human Rights) test involves taking the entire set of
56-
UDHR translations (almost 500 languages), concatenating them as one file (which
57-
ends up being 8 megabytes!), then via the `editor-test` example, automatically
58-
simulating the entry of that file into cosmic-text per-character, with the use
59-
of backspace and delete tested per character and per line. Then, the final
60-
contents of the buffer is compared to the original file. All of the 106746
61-
lines are correct.
71+
The UDHR (Universal Declaration of Human Rights) test involves taking the entire
72+
set of UDHR translations (almost 500 languages), concatenating them as one file
73+
(which ends up being 8 megabytes!), then via the `editor-test` example,
74+
automatically simulating the entry of that file into cosmic-text per-character,
75+
with the use of backspace and delete tested per character and per line. Then,
76+
the final contents of the buffer is compared to the original file. All of the
77+
106746 lines are correct.
6278

6379
## License
6480

sample/hello.txt

+266
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,266 @@
1+
https://en.wiktionary.org/wiki/hello#Translations
2+
Abkhaz: бзиа збаша (bzia zbaša), мыш бзи (məš bzi), (to a man) бзиара убааит (bziara ubaaiṭ), (to a woman) бзиара ббааит (bziara bbaaiṭ), (to more than one person) бзиара жәбааит pl (bziara ž°baaiṭ)
3+
Afrikaans: hallo (af), goeiedag
4+
Ainu: イランカラㇷ゚テ (irankarapte)
5+
Albanian: tungjatjeta (sq), tung (informal), ç'kemi m or f
6+
7+
Arbëreshë Albanian: falem (sq)
8+
9+
Alemannic German: sälü, hoi, hello
10+
Aleut: aang, draas
11+
Ambonese Malay: wai
12+
American Sign Language: B@Sfhead-PalmForward B@FromSfhead-PalmForward
13+
Amharic: ሰላም (sälam)
14+
Apache:
15+
16+
Jicarilla: dá nzhǫ́
17+
Western Apache: dagotʼee, daʼanzho, yaʼateh
18+
19+
Arabic: السَّلَامُ عَلَيْكُمْ‎ (ar) (as-salāmu ʿalaykum), سَلَام‎ (ar) (salām), مَرْحَبًا‎ (ar) (marḥaban), أَهْلًا‎ (ar) (ʾahlan)
20+
21+
Egyptian Arabic: اهلاً‎ (ahlan)
22+
Iraqi Arabic: هلو‎ (helaww)
23+
24+
Archi: салам алейкум (salam alejkum), варчӀами (warčʼami)
25+
Armenian: բարև (hy) (barew), ողջույն (hy) (ołǰuyn)
26+
Assamese: নমস্কাৰ (nomoskar) (very formal), আচ্চেলামো আলাইকোম (asselamü alaiküm) (formal, used among Muslims), হেল’ (helö)
27+
Assyrian Neo-Aramaic: ܫܠܵܡܵܐ‎ (šlama), (to a man) ܫܠܵܡܵܐ ܥܲܠܘܼܟ݂‎ (šlama ʿāloḳ), (to a woman) ܫܠܵܡܵܐ ܥܲܠܵܟ݂ܝ‎ (šlama ʿālaḳ), (to more than one person) ܫܠܵܡܵܐ ܥܲܠܵܘܟ݂ܘܿܢ‎ (šlama ʿāloḳon)
28+
Asturian: hola (ast)
29+
Azerbaijani: salam (az), səlam (South Azerbaijani), hər vaxtınız xeyir olsun, hər vaxtınız xeyir
30+
Bashkir: сәләм (säläm)
31+
Basque: kaixo (eu)
32+
Bats: please add this translation if you can
33+
Bavarian: servus, grias di, pfiati (Timau)
34+
Belarusian: віта́ю (vitáju), здаро́ў (zdaróŭ) (colloquial), до́бры дзень (dóbry dzjenʹ) (good day)
35+
Bengali: নমস্কার (bn) (nômôśkar), আসসালামুআলাইকুম (aśśalamualaikum), সালাম (śalam), হ্যালো (hjalo)
36+
Bhojpuri: प्रणाम (praṇām)
37+
Bouyei: mengz ndil
38+
Bulgarian: здра́сти (bg) (zdrásti) (familiar), здраве́й (bg) sg (zdravéj) (familiar), здраве́йте (bg) pl (zdravéjte) (formal)
39+
Burmese: မင်္ဂလာပါ (my) (mangga.lapa) , ဟဲလို (my) (hai:lui) (colloquial)
40+
Catalan: hola (ca)
41+
Cayuga: sgę́:nǫʔ
42+
Central Atlas Tamazight: ⴰⵣⵓⵍ (azul)
43+
Chamorro: håfa adai
44+
Chechen: маршалла ду хьоьга (maršalla du ḥöga) (to one person), маршалла ду шуьга (maršalla du šüga) (to a group of people), ассаламу ӏалайкум (assalamu ʿalajkum)
45+
Cherokee: ᎣᏏᏲ (chr) (osiyo)
46+
Chichewa: moni
47+
Chickasaw: chokma
48+
Chinese:
49+
50+
Cantonese: 你好 (nei5 hou2), 哈佬 (haa1 lou2)
51+
Dungan: ни хо (ni ho), сэляму (seli͡amu), хома (homa)
52+
Hakka: 你好 (ngì-hó)
53+
Mandarin: 你好 (zh) (nǐ hǎo), 您好 (zh) (nín hǎo) (polite), 你們好, 你们好 (nǐmen hǎo) (to a group of people), 好 (zh) (hǎo) (following an address form or name), 嗨 (zh) (hāi), 哈囉 (zh), 哈啰 (zh) (hāluó)
54+
Min Dong: 汝好 (nṳ̄ hō̤)
55+
Min Nan: 汝好 (lí hó)
56+
Xiang: please add this translation if you can
57+
Wu: 儂好, 侬好 (non hau)
58+
59+
Choctaw: halito
60+
Chukchi: еттык (ettyk) (formal), ети (eti) (informal), етти (etti) (informal)
61+
Coptic: ⲛⲟϥⲣⲓ (nofri)
62+
Cornish: dydh da
63+
Corsican: bonghjornu
64+
Cree:
65+
66+
Plains Cree: tânisi
67+
68+
Czech: ahoj (cs), nazdar (cs) (informal), servus (cs) (informal), dobrý den (cs) (formal)
69+
Danish: hej (da), dav (da), god dag (formal), hallo (da)
70+
Dhivehi: އައްސަލާމު ޢަލައިކުމް‎ (assalāmu ʿalaikum̊)
71+
Dutch: hallo (nl), hoi (nl), hai (nl), hé (nl), dag (nl) (informal), goeiedag (nl), goededag (nl), goedendag (nl), goeiendag (nl) (formal)
72+
Esperanto: saluton (eo)
73+
Estonian: tere (et), hei (et)
74+
Faroese: hey, halló
75+
Fijian: bula (fj)
76+
Finnish: terve (fi), moi (fi), hei (fi), moikka (fi)
77+
French: bonjour (fr), salut (fr) (informal), coucou (fr)(informal), cocorico (fr)
78+
Friulian: mandi
79+
Galician: ola (gl), oula, ouga
80+
Georgian: გამარჯობა (ka) (gamarǯoba), ჰეი (hei)
81+
German: hallo (de), guten Tag (de), servus (de), moin (de), grüß Gott (de) (Southern German, Austria)
82+
83+
Alemannic German: grüezi
84+
85+
Gilbertese: mauri
86+
Gothic: 𐌷𐌰𐌹𐌻𐍃 (hails), 𐌷𐌰𐌹𐌻𐌰 (haila)
87+
Greek: γεια (el) (geia), γεια σου sg (geia sou), γεια σας pl (geia sas), χαίρετε (el) (chaírete)
88+
89+
Ancient: χαῖρε sg (khaîre), χαίρετε pl (khaírete), χαῖρε καί ὑγίαινε sg (khaîre kaí hugíaine)
90+
91+
Greenlandic: aluu (kl)
92+
Guaraní: maitei (gn)
93+
Gujarati: નમસ્તે (namaste), નમસ્કાર (namaskār)
94+
Haitian Creole: bonjou
95+
Hausa: sannu
96+
Hawaiian: aloha
97+
Hebrew: שָׁלוֹם‎ (he) (shalóm), שָׁלוֹם עָלֵיכֶם‎ (he) (shalóm 'aleikhém)
98+
Hindi: नमस्ते (hi) (namaste), नमस्कार (hi) (namaskār), सलाम (hi) (salām) (used by Muslims), सत श्री अकाल (sat śrī akāl) (Sikh, hello/goodbye), हेलो (hi) (helo), हलो (halo), सत्य (hi) (satya), आदाब (hi) (ādāb)
99+
Hmong:
100+
Green Hmong: nyob zoo
101+
White Hmong: nyob zoo
102+
Hungarian: szia (hu), sziasztok (hu) pl (informal), szervusz (hu), szervusztok pl (somewhat formal), heló (hu), helló (hu) (informal), jó napot (hu), jó napot kívánok (hu) (formal), üdvözlöm
103+
Icelandic: halló (is), hæ (is), góðan dag (is), góðan daginn (is)
104+
Ido: hola (io)
105+
Igbo: kèdu
106+
Indonesian: hai (id), salam (id)
107+
Interlingua: bon die, salute (ia)
108+
Irish: Dia dhuit (formal, singular), Dia dhaoibh (formal, plural), Dia's Muire dhuit (formal, singular, response), Dia's Muire dhaoibh (formal, plural, response)
109+
Isan: please add this translation if you can
110+
Italian: ciao (it), salve (it), buongiorno (it), saluti (it) m pl
111+
Iu Mien: yiem longx nyei
112+
Jamaican Creole: ello, wah gwaan
113+
Japanese: おはよう (ja) (ohayō) (morning), こんにちは (ja) (konnichi wa) (daytime), こんばんは (ja) (konban wa) (evening)
114+
Javanese: halo
115+
Jeju: 반갑수다 (ban-gapsuda), 펜안ᄒᆞ우꽈 (pen-anhawukkwa), 펜안 (pen-an)
116+
Judeo-Tat: шолум (şolum)
117+
Kabardian: уузыншэм (wwzənšăm)
118+
Kabyle: azul
119+
Kalmyk: мендвт (mendvt), менд (mend) (informal)
120+
Kannada: ತುಳಿಲು (kn) (tuḷilu), ನಮಸ್ಕಾರ (kn) (namaskāra)
121+
Karachay-Balkar: кюнюгюз ашхы болсун (künügüz aşxı bolsun), ассаламу алейкум (assalamu aleykum)
122+
Karelian: terveh, hei
123+
Kazakh: сәлем (kk) (sälem) (informal), сәлеметсіздер (sälemetsızder) (formal)
124+
Khmer: ជំរាបសួរ (cumriəp suə), សួស្តី (suəsdəy)
125+
Khün: please add this translation if you can
126+
Kinyarwanda: muraho
127+
Korean: 안녕하십니까 (annyeonghasimnikka) (formal), 안녕하세요 (ko) (annyeonghaseyo) (neutrally formal), 안녕(安寧) (ko) (annyeong) (informal)
128+
Krio: kushɛ
129+
Kurdish:
130+
131+
Northern Kurdish: merheba (ku), silav (ku), selam (ku)
132+
133+
Kyrgyz: саламатсыздарбы (salamatsızdarbı), салам (ky) (salam)
134+
Ladino: shalom, bonjur, buenos diyas
135+
Lak: салам (salam)
136+
Lakota: háu
137+
Lao: ສະບາຍດີ (sa bāi dī)
138+
Latin: salvē (la) sg, salvēte (la) pl; avē (la) sg, avēte pl
139+
Latvian: sveiki (informal to more than one person or people of indeterminate gender), sveiks (to a man), sveika (to a woman), čau (informal)
140+
Laz: გეგაჯგინას (gegaǯginas)
141+
Lezgi: салам (salam)
142+
Lithuanian: labas (lt), sveikas (lt) (informal), sveiki (lt) (formal)
143+
Livonian: tēriņtš
144+
Luo: msawa
145+
Lü: ᦍᦲᧃᦡᦲ (yiinḋii)
146+
Luxembourgish: hallo
147+
Macedonian: здраво (zdravo)
148+
Malagasy: manao ahoana? (mg), salama (mg) (Tsimihety)
149+
Malay: helo (ms), apa khabar (ms), salam (ms)
150+
Malayalam: ഹലോ (halō), നമസ്തേ (ml) (namastē), നമസ്കാരം (ml) (namaskāraṃ)
151+
Maltese: bonġu (mt) (before noon), bonswa (after noon), nsellimlek (formal one to one person), nsellmilkom (formal one to more than one person), nsellmulek (formal more than one person to one person), nsellmulkom (formal more than one person to more than one persons)
152+
Manchu: ᠰᠠᡳᠶᡡᠨ (saiyūn)
153+
Maori: kia ora (mi) (informal), tēnā koe (formal to one person), tēnā kōrua (formal to two people), tēnā koutou (formal to three or more people)
154+
Mapudungun: mari mari
155+
Maranungku: yo
156+
Marathi: नमस्कार (mr) (namaskār)
157+
Michif: tánishi, boñjour
158+
Mingrelian: გომორძგუა (gomorʒgua)
159+
Mohawk: sekoh
160+
Mongolian:
161+
162+
Cyrillic: сайн уу? (mn) (sayn uu?) (informal), сайн байна уу? (mn) (sayn bayna uu?)
163+
164+
Mopan Maya: dʼyoos
165+
Nahuatl: niltze (nah), panoltih
166+
Navajo: yáʼátʼééh
167+
Neapolitan: uè
168+
Nepali: नमस्ते (ne) (namaste), नमस्कार (ne) (namaskār)
169+
Norman: baon-n-jour (Guernsey), banjour (Guernsey), boujouo (continental Normandy), bouônjour (Jersey), bwõju (Sark)
170+
Northern Thai: สบายดีก่อ
171+
Norwegian:
172+
173+
Bokmål: hallo (no), hei (no), god dag (no) (formal), halla (no) (informal), heisann
174+
175+
Ojibwe: boozhoo
176+
Okinawan: はいさい m (haisai), はいたい f (haitai), はい n (hai)
177+
Old English: wes hāl
178+
Oriya: ନମସ୍କାର (or) (nômôskarô)
179+
Ossetian: салам (salam), байрай (bajraj), арфӕ (arfæ)
180+
Palauan: alii
181+
Pashto: سلام‎ (ps) (salām), سلام الېک‎ (slāmālék), السلام عليکم‎ (as-salám alaykúm)
182+
Persian: سلام‎ (fa) (salâm), سلام علیکم‎ (salâmo alaykom) (religious), درود‎ (fa) (dorud) (literary)
183+
Pitcairn-Norfolk: watawieh
184+
Polish: cześć (pl) (informal), witaj (pl), witajcie, witam (more formal), dzień dobry (pl) (formal), siema (pl) (informal), halo (pl) (on phone), serwus (pl) (colloquial), cześka (colloquial), siemanero (colloquial)
185+
Portuguese: oi (pt), olá (pt), (slang) e aí? (pt)
186+
Punjabi: ਸਤਿ ਸ਼੍ਰੀ ਅਕਾਲ (sati śrī akāl)
187+
Rapa Nui: 'iorana
188+
Romani: te aves baxtalo (to a male), te aves baxtali (to a female), te aven baxtale (to two or more people)
189+
Romanian: salut (ro), bună (ro), noroc (ro) (informal), bună ziua (formal), servus (ro)
190+
Russian: приве́т (ru) (privét) (informal), здоро́во (ru) (zdoróvo) (colloquial), здра́вствуйте (ru) (zdrávstvujte) (formal, first "в" is silent), до́брый день (ru) (dóbryj denʹ), здра́вствуй (ru) (zdrávstvuj) (informal, first "в" is silent), салю́т (ru) (saljút)
191+
Rusyn: наздар (nazdar)
192+
Sami:
193+
194+
Inari Sami: tiervâ
195+
Northern: dearvva, būres
196+
Skolt: tiõrv
197+
Southern: buaregh
198+
199+
Samoan: talofa
200+
Sanskrit: नमस्कार (sa) (namaskāra), नमस्ते (namaste), नमो नमः (namo namaḥ) (formal)
201+
Scots: hullo
202+
Scottish Gaelic: halò (informal), latha math (formal), (informal) hòigh
203+
Serbo-Croatian:
204+
205+
Cyrillic: здра̏во, ћа̑о, ме̏рха̄ба, селам, бог, бок
206+
Roman: zdrȁvo (sh), ćȃo (sh), mȅrhāba, selam (sh), bog, bok (sh)
207+
208+
Sesotho: lumela
209+
Shan: please add this translation if you can
210+
Shona: mhoro
211+
Sichuan Yi: please add this translation if you can
212+
Sicilian: ciao, salutamu
213+
Sindhi: هيلو‎
214+
Sinhalese: හලෝ (halō), ආයුබෝවන් (si) (āyubōwan)
215+
Situ: please add this translation if you can
216+
Slovak: ahoj (sk), nazdar (informal), servus (sk) (informal), dobrý deň (formal)
217+
Slovene: žívjo, zdrávo (informal), dóber dán, pozdravljeni (formal)
218+
Somali: ma nabad baa, waa nabad
219+
Sorbian:
220+
221+
Lower Sorbian: dobry źeń
222+
223+
Sotho: dumela (st)
224+
Spanish: hola (es), buenos días (es), qué tal, buenas tardes (es)
225+
Sundanese: halo
226+
Svan: ხოჩა ლადა̈ღ (xoča ladäɣ)
227+
Swahili: jambo (sw), salaam
228+
Swedish: hallå (sv), hej (sv), god dag (sv) (formal), tjena (sv), hejsan (sv) (informal), tja (sv)
229+
Tagalog: kamusta (tl)/kumusta (tl), musta (tl) (slang), hoy (tl), huy, oy/oi (informal), uy/ui (informal)
230+
Tajik: салом (salom)
231+
Tamil: வணக்கம் (ta) (vaṇakkam)
232+
Tangsa: äshazhoix
233+
Tatar: сәлам (tt) (sälam)
234+
Telugu: నమసకారం (namasakāraṁ), బాగున్నారా (bāgunnārā)
235+
Tetum: please add this translation if you can
236+
Thai: สวัสดี (th) (sà-wàt-dii), สวัสดีครับ (male speaker), สวัสดีค่ะ (female speaker), หวัดดี (wàt-dii)
237+
Tibetan: བཀྲ་ཤིས་བདེ་ལེགས (bkra shis bde legs)
238+
Tigrinya: ሰላም (sälam)
239+
Tongan: mālō e lelei
240+
Tswana: dumela (tn) (singular, as in dumela, rra, "hello sir"), dumelang (tn) (plural, as in dumelang, borra, "hello gentlemen")
241+
Turkish: merhaba (tr), selam (tr)
242+
Turkmen: salam
243+
Tuvan: экии (ekii)
244+
Udmurt: ӟеч (dźeć), чырткем (ćyrtkem), умой (umoj)
245+
Ukrainian: приві́т (uk) (pryvít) (informal), здоро́в був (uk) (zdoróv buv) (informal), добри́день (uk) (dobrýdenʹ) (neutral or formal), чоло́м (čolóm)
246+
Urdu: سلام علیکم‎ (salām-o-alaikum), اسلام علیکم‎ (literally “Peace be upon you”), اسلام علیکم ورحمۃاللہ وبرکاتہ‎ (literally “Peace be upon you & May Allah bless”), آداب‎ (ur) (ādāb)
247+
Uyghur: سالام‎ (salam)
248+
Uzbek: salom (uz)
249+
Venetian: ciao (vec)
250+
Vietnamese: xin chào (vi), chào (vi)
251+
Volapük: glidis
252+
Walloon: bondjoû (wa), a (wa), diewåde (wa) (old)
253+
Welsh: helo (cy), bore da (good morning), dydd da (good day), hylo
254+
West Frisian: hallo, hoi
255+
Winnebago: haho (male speaker), hą (female speaker), hinįkaraginʼ
256+
Xhosa: molo sg, molweni pl
257+
Xibe: ᠪᠠᡳᡨᠠᡴᡡ
258+
ᠨᠠ (baitakū na)
259+
Yakut: эҕэрдэ (eğerde), дорообо (doroobo) (informal)
260+
Yiddish: שלום־עליכם‎ (sholem-aleykhem), אַ גוטן‎ (yi) (a gutn), גוט־מאָרגן‎ (yi) (gut-morgn)
261+
Yoruba: Pẹlẹ o
262+
Yup'ik: waqaa, cama-i
263+
Zapotec: padiull
264+
Zazaki: sılam, namaste
265+
Zhuang: mwngz ndei
266+
Zulu: sawubona (zu) (familiar), sanibonani (plural, respectful)

screenshots/arabic.png

+3
Loading

screenshots/chinese-simplified.png

+3
Loading

screenshots/hindi.png

+3
Loading

0 commit comments

Comments
 (0)