mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 16:42:52 +00:00
Glyphs: Alternates for Current Selection applies a feature value to one letter; Entire Font lists unencoded glyphs
The grid lists the alternates of the glyph the shaper makes for the selected character in its word, and a double-click applies the feature that draws it (salt=2) to that character alone in one undo step, so an Arabic word stays joined. A variant no feature draws keeps the replacement-glyph fallback, with a tooltip. Entire Font adds glyphs no character maps, with name or gid and the feature reaching them. i18n rows in every catalog; parity docs updated (#5514).
This commit is contained in:
@@ -846,6 +846,8 @@ font-technology Variable Променливи
|
||||
The selected character's font is not available. Шрифтът на избрания знак не е наличен.
|
||||
No alternates for the selected character. Няма алтернативи за избрания знак.
|
||||
Double-click to replace Двойно щракване за замяна
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Нито една OpenType функция не рисува този глиф тук, затова той заменя глифа на знака и може да не се свързва със съседните знаци.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Този глиф няма знак, затова не може да се вмъкне. Използвайте „Алтернативи за текущата селекция“, за да го приложите.
|
||||
Double-click to insert Двойно щракване за вмъкване
|
||||
Double-click to rename Двойно щракване за преименуване
|
||||
Double-click to target the contents Двойно щракване за насочване към съдържанието
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1554,6 +1554,8 @@ digits Malayalam Malajalam
|
||||
The selected character's font is not available. Font odabranog znaka nije dostupan.
|
||||
No alternates for the selected character. Nema alternativa za odabrani znak.
|
||||
Double-click to replace Dvostruki klik za zamjenu
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Nijedna OpenType funkcija ne crta ovaj glif ovdje, pa on zamjenjuje glif znaka i možda se neće spajati sa susjednim znakovima.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Ovaj glif nema znak, pa se ne može umetnuti. Koristite „Alternative za trenutni odabir“ da ga primijenite.
|
||||
Double-click to insert Dvostruki klik za umetanje
|
||||
Entire Font Cijeli font
|
||||
glyph {id} glif {id}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1208,6 +1208,8 @@
|
||||
The selected character's font is not available. El tipus de lletra del caràcter seleccionat no està disponible.
|
||||
No alternates for the selected character. No hi ha alternatives per al caràcter seleccionat.
|
||||
Double-click to replace Feu doble clic per substituir
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Cap funció OpenType dibuixa aquest glif aquí, de manera que substitueix el glif del caràcter i pot no unir-se als caràcters veïns.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Aquest glif no té cap caràcter, de manera que no es pot inserir. Feu servir «Alternatives per a la selecció actual» per aplicar-lo.
|
||||
Double-click to insert Feu doble clic per inserir
|
||||
Double-click to rename Feu doble clic per canviar el nom
|
||||
Double-click to target the contents Feu doble clic per apuntar al contingut
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1578,6 +1578,8 @@ digits Malayalam Malajálamské
|
||||
The selected character's font is not available. Písmo vybraného znaku není k dispozici.
|
||||
No alternates for the selected character. Vybraný znak nemá žádné alternativy.
|
||||
Double-click to replace Dvojklikem nahradíte
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Žádná funkce OpenType tento glyf zde nekreslí, proto nahradí glyf znaku a nemusí se spojit se sousedními znaky.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Tento glyf nemá žádný znak, takže ho nelze vložit. Použijte „Alternativy pro aktuální výběr“.
|
||||
Double-click to insert Dvojklikem vložíte
|
||||
Entire Font Celé písmo
|
||||
glyph {id} glyf {id}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1488,6 +1488,8 @@ digits Malayalam Malayalam
|
||||
The selected character's font is not available. Skrifttypen for det markerede tegn er ikke tilgængelig.
|
||||
No alternates for the selected character. Ingen alternativer til det markerede tegn.
|
||||
Double-click to replace Dobbeltklik for at erstatte
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Ingen OpenType-funktion tegner dette glyf her, så det erstatter tegnets glyf og forbindes måske ikke med nabotegnene.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Dette glyf har intet tegn og kan derfor ikke indsættes. Brug „Alternativer til den aktuelle markering“ for at anvende det.
|
||||
Double-click to insert Dobbeltklik for at indsætte
|
||||
Entire Font Hele skrifttypen
|
||||
glyph {id} glyf {id}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -840,6 +840,8 @@ font-technology Variable Variabel
|
||||
The selected character's font is not available. Die Schrift des ausgewählten Zeichens ist nicht verfügbar.
|
||||
No alternates for the selected character. Keine Alternativen für das ausgewählte Zeichen.
|
||||
Double-click to replace Doppelklicken zum Ersetzen
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Keine OpenType-Funktion zeichnet diese Glyphe hier, daher ersetzt sie die Glyphe des Zeichens und verbindet sich möglicherweise nicht mit den Nachbarzeichen.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Diese Glyphe hat kein Zeichen und lässt sich daher nicht einfügen. Verwenden Sie „Alternativen für aktuelle Auswahl“, um sie anzuwenden.
|
||||
Double-click to insert Doppelklicken zum Einfügen
|
||||
Double-click to rename Doppelklicken zum Umbenennen
|
||||
Double-click to target the contents Doppelklicken, um den Inhalt als Ziel auszuwählen
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -819,6 +819,8 @@ font-technology Variable Μεταβλητές
|
||||
The selected character's font is not available. Η γραμματοσειρά του επιλεγμένου χαρακτήρα δεν είναι διαθέσιμη.
|
||||
No alternates for the selected character. Δεν υπάρχουν εναλλακτικοί για τον επιλεγμένο χαρακτήρα.
|
||||
Double-click to replace Διπλό κλικ για αντικατάσταση
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Καμία λειτουργία OpenType δεν σχεδιάζει αυτόν τον γλύφο εδώ, οπότε αντικαθιστά τον γλύφο του χαρακτήρα και μπορεί να μην συνδέεται με τους γειτονικούς χαρακτήρες.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Αυτός ο γλύφος δεν έχει χαρακτήρα και δεν μπορεί να εισαχθεί. Χρησιμοποιήστε τους «Εναλλακτικούς για την τρέχουσα επιλογή» για να τον εφαρμόσετε.
|
||||
Double-click to insert Διπλό κλικ για εισαγωγή
|
||||
Double-click to rename Διπλό κλικ για μετονομασία
|
||||
Double-click to target the contents Διπλό κλικ για επιλογή του περιεχομένου ως στόχου
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 163 and column 5.
|
@@ -861,6 +861,8 @@ font-technology Variable Variables
|
||||
The selected character's font is not available. La fuente del carácter seleccionado no está disponible.
|
||||
No alternates for the selected character. No hay alternativas para el carácter seleccionado.
|
||||
Double-click to replace Doble clic para reemplazar
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Ninguna función OpenType dibuja este glifo aquí, así que sustituye el glifo del carácter y puede que no se una a los caracteres vecinos.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Este glifo no tiene carácter, así que no se puede insertar. Usa «Alternativas para la selección actual» para aplicarlo.
|
||||
Double-click to insert Doble clic para insertar
|
||||
Double-click to rename Doble clic para cambiar el nombre
|
||||
Double-click to target the contents Doble clic para seleccionar el contenido como destino
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1551,6 +1551,8 @@ digits Malayalam Malajalam
|
||||
The selected character's font is not available. Valitun merkin fontti ei ole saatavilla.
|
||||
No alternates for the selected character. Valitulla merkillä ei ole vaihtoehtoja.
|
||||
Double-click to replace Korvaa kaksoisnapsauttamalla
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Mikään OpenType-ominaisuus ei piirrä tätä glyfiä tässä, joten se korvaa merkin glyfin eikä välttämättä liity viereisiin merkkeihin.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Tällä glyfillä ei ole merkkiä, joten sitä ei voi lisätä. Käytä toimintoa ”Nykyisen valinnan vaihtoehdot” sen käyttöön.
|
||||
Double-click to insert Lisää kaksoisnapsauttamalla
|
||||
Entire Font Koko fontti
|
||||
glyph {id} merkki {id}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -864,6 +864,8 @@ font-technology Variable Variables
|
||||
The selected character's font is not available. La police du caractère sélectionné n’est pas disponible.
|
||||
No alternates for the selected character. Aucune variante pour le caractère sélectionné.
|
||||
Double-click to replace Double-cliquez pour remplacer
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Aucune fonction OpenType ne dessine ce glyphe ici : il remplace le glyphe du caractère et peut ne pas se lier aux caractères voisins.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Ce glyphe n’a pas de caractère et ne peut donc pas être inséré. Utilisez « Variantes de la sélection » pour l’appliquer.
|
||||
Double-click to insert Double-cliquez pour insérer
|
||||
Double-click to rename Double-cliquez pour renommer
|
||||
Double-click to target the contents Double-cliquez pour cibler le contenu
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1344,6 +1344,8 @@
|
||||
Double-click to insert सम्मिलित करने के लिए डबल क्लिक करें
|
||||
Double-click to rename नाम बदलने के लिए डबल क्लिक करें
|
||||
Double-click to replace प्रतिस्थापित करने के लिए डबल क्लिक करें
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. यहाँ कोई OpenType फ़ीचर इस ग्लिफ़ को नहीं बनाता, इसलिए यह कैरेक्टर के ग्लिफ़ की जगह लेता है और पड़ोसी कैरेक्टरों से जुड़ नहीं भी सकता।
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. इस ग्लिफ़ का कोई कैरेक्टर नहीं है, इसलिए इसे सम्मिलित नहीं किया जा सकता। इसे लागू करने के लिए “वर्तमान सिलेक्शन के लिए ऑप्शन” का उपयोग करें।
|
||||
Double-click to target the contents सामग्री को लक्षित करने के लिए डबल क्लिक करें
|
||||
Down (right reading) नीचे (दाएं पढ़ने)
|
||||
Download डाउनलोड
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -1114,6 +1114,8 @@ font-technology Variable Változó
|
||||
The selected character's font is not available. A kijelölt karakter betűtípusa nem érhető el.
|
||||
No alternates for the selected character. A kijelölt karakternek nincsenek változatai.
|
||||
Double-click to replace Csere dupla kattintással
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Itt egyetlen OpenType-funkció sem rajzolja meg ezt a glifát, ezért a karakter glifáját váltja fel, és előfordulhat, hogy nem kapcsolódik a szomszédos karakterekhez.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Ennek a glifának nincs karaktere, ezért nem szúrható be. Az alkalmazásához használd az „Az aktuális kijelölés változatai” nézetet.
|
||||
Double-click to insert Beszúrás dupla kattintással
|
||||
Double-click to rename Dupla kattintással átnevezhető
|
||||
Double-click to target the contents Dupla kattintással a tartalom lesz a cél
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1488,6 +1488,8 @@ digits Malayalam Malayalam
|
||||
The selected character's font is not available. Font karakter yang dipilih tidak tersedia.
|
||||
No alternates for the selected character. Tidak ada alternatif untuk karakter yang dipilih.
|
||||
Double-click to replace Klik ganda untuk mengganti
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Tidak ada fitur OpenType yang menggambar glif ini di sini, jadi glif ini menggantikan glif karakter dan mungkin tidak menyambung dengan karakter di sebelahnya.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Glif ini tidak punya karakter, sehingga tidak bisa disisipkan. Gunakan “Alternatif untuk Pilihan Saat Ini” untuk menerapkannya.
|
||||
Double-click to insert Klik ganda untuk menyisipkan
|
||||
Entire Font Seluruh font
|
||||
glyph {id} glif {id}
|
||||
|
||||
|
@@ -861,6 +861,8 @@ font-technology Variable Variabili
|
||||
The selected character's font is not available. Il font del carattere selezionato non è disponibile.
|
||||
No alternates for the selected character. Nessuna alternativa per il carattere selezionato.
|
||||
Double-click to replace Fai doppio clic per sostituire
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Nessuna funzione OpenType disegna questo glifo qui: sostituisce il glifo del carattere e potrebbe non unirsi ai caratteri vicini.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Questo glifo non ha un carattere e non può essere inserito. Usa «Alternative per la selezione corrente» per applicarlo.
|
||||
Double-click to insert Fai doppio clic per inserire
|
||||
Double-click to rename Fai doppio clic per rinominare
|
||||
Double-click to target the contents Fai doppio clic per impostare il contenuto come destinazione
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1424,6 +1424,8 @@ digits Malayalam マラヤーラム数字
|
||||
The selected character's font is not available. 選択した文字のフォントを使用できません。
|
||||
No alternates for the selected character. 選択した文字には異体字がありません。
|
||||
Double-click to replace ダブルクリックで置換
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. このグリフを表示する OpenType フィーチャーがないため、文字のグリフが置き換わり、前後の文字とつながらないことがあります。
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. このグリフには対応する文字がないため、挿入できません。適用するには「選択文字の異体字」を使用してください。
|
||||
Double-click to insert ダブルクリックで挿入
|
||||
Double-click to rename ダブルクリックで名前を変更
|
||||
Double-click to target the contents ダブルクリックで内容をターゲット
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1414,6 +1414,8 @@ digits Malayalam მალაიალამური
|
||||
The selected character's font is not available. მონიშნული სიმბოლოს შრიფტი მიუწვდომელია.
|
||||
No alternates for the selected character. მონიშნულ სიმბოლოს ალტერნატივები არ აქვს.
|
||||
Double-click to replace ორჯერ დაწკაპეთ ჩასანაცვლებლად
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. აქ არც ერთი OpenType ფუნქცია არ ხატავს ამ გლიფს, ამიტომ ის ანაცვლებს სიმბოლოს გლიფს და შეიძლება არ დაუკავშირდეს მეზობელ სიმბოლოებს.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. ამ გლიფს სიმბოლო არ აქვს, ამიტომ მისი ჩასმა შეუძლებელია. გამოსაყენებლად გამოიყენეთ „მიმდინარე მონიშვნის ალტერნატივები“.
|
||||
Double-click to insert ორჯერ დაწკაპეთ ჩასასმელად
|
||||
Entire Font მთელი შრიფტი
|
||||
glyph {id} გლიფი {id}
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -1414,6 +1414,8 @@ digits Malayalam 말라얄람어
|
||||
The selected character's font is not available. 선택한 문자의 글꼴을 사용할 수 없습니다.
|
||||
No alternates for the selected character. 선택한 문자의 대체 글리프가 없습니다.
|
||||
Double-click to replace 더블클릭하여 바꾸기
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. 이 글리프를 그리는 OpenType 기능이 없으므로 문자의 글리프를 대체하며 이웃 문자와 연결되지 않을 수 있습니다.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. 이 글리프에는 문자가 없어 삽입할 수 없습니다. 적용하려면 ‘현재 선택 항목의 대체 글리프’를 사용하세요.
|
||||
Double-click to insert 더블클릭하여 삽입
|
||||
Double-click to rename 더블클릭하여 이름 변경
|
||||
Double-click to target the contents 더블클릭하여 내용 선택
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1502,6 +1502,8 @@ digits Malayalam Malayalam
|
||||
The selected character's font is not available. Het lettertype van het geselecteerde teken is niet beschikbaar.
|
||||
No alternates for the selected character. Geen alternatieven voor het geselecteerde teken.
|
||||
Double-click to replace Dubbelklik om te vervangen
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Geen enkele OpenType-functie tekent deze glyph hier, dus hij vervangt de glyph van het teken en sluit mogelijk niet aan op de buurtekens.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Deze glyph heeft geen teken en kan dus niet worden ingevoegd. Gebruik ‘Alternatieven voor huidige selectie’ om hem toe te passen.
|
||||
Double-click to insert Dubbelklik om in te voegen
|
||||
Entire Font Volledig lettertype
|
||||
glyph {id} glyph {id}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1491,6 +1491,8 @@ digits Malayalam Malajalam
|
||||
The selected character's font is not available. Czcionka zaznaczonego znaku jest niedostępna.
|
||||
No alternates for the selected character. Brak alternatyw dla zaznaczonego znaku.
|
||||
Double-click to replace Kliknij dwukrotnie, aby zastąpić
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Żadna funkcja OpenType nie rysuje tutaj tego glifu, więc zastępuje on glif znaku i może nie łączyć się z sąsiednimi znakami.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Ten glif nie ma znaku, więc nie można go wstawić. Użyj opcji „Alternatywy bieżącego zaznaczenia”, aby go zastosować.
|
||||
Double-click to insert Kliknij dwukrotnie, aby wstawić
|
||||
Entire Font Cała czcionka
|
||||
glyph {id} glif {id}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -771,6 +771,8 @@
|
||||
The selected character's font is not available. A fonte do caractere selecionado não está disponível.
|
||||
No alternates for the selected character. Nenhuma alternativa para o caractere selecionado.
|
||||
Double-click to replace Clique duplo para substituir
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Nenhum recurso OpenType desenha este glifo aqui, então ele substitui o glifo do caractere e pode não se unir aos caracteres vizinhos.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Este glifo não tem caractere e não pode ser inserido. Use “Alternativas para a seleção atual” para aplicá-lo.
|
||||
Double-click to insert Clique duplo para inserir
|
||||
Double-click to rename Clique duplo para renomear
|
||||
Double-click to target the contents Clique duplo para direcionar o conteúdo
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
@@ -859,6 +859,8 @@ font-technology Variable Вариативные
|
||||
The selected character's font is not available. Шрифт выделенного символа недоступен.
|
||||
No alternates for the selected character. У выделенного символа нет альтернатив.
|
||||
Double-click to replace Дважды щёлкните для замены
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Ни одна функция OpenType не рисует здесь этот глиф, поэтому он заменяет глиф символа и может не соединяться с соседними символами.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. У этого глифа нет символа, поэтому его нельзя вставить. Чтобы применить его, используйте «Альтернативы для текущего выделения».
|
||||
Double-click to insert Дважды щёлкните для вставки
|
||||
Double-click to rename Дважды щёлкните для переименования
|
||||
Double-click to target the contents Дважды щёлкните, чтобы выбрать содержимое как объект
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -848,6 +848,8 @@ font-technology Variable Variabla
|
||||
The selected character's font is not available. Typsnittet för det markerade tecknet är inte tillgängligt.
|
||||
No alternates for the selected character. Inga alternativ för det markerade tecknet.
|
||||
Double-click to replace Dubbelklicka för att ersätta
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Ingen OpenType-funktion ritar den här glyfen här, så den ersätter tecknets glyf och ansluter kanske inte till grannteckenen.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Den här glyfen har inget tecken och kan därför inte infogas. Använd ”Alternativ för aktuell markering” för att tillämpa den.
|
||||
Double-click to insert Dubbelklicka för att infoga
|
||||
Double-click to rename Dubbelklicka för att byta namn
|
||||
Double-click to target the contents Dubbelklicka för att välja innehållet som mål
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 5 and column 25.
|
@@ -840,6 +840,8 @@ font-technology Variable Değişken
|
||||
The selected character's font is not available. Seçili karakterin yazı tipi kullanılamıyor.
|
||||
No alternates for the selected character. Seçili karakter için alternatif yok.
|
||||
Double-click to replace Değiştirmek için çift tıklayın
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Hiçbir OpenType özelliği bu glifi burada çizmez; bu yüzden karakterin glifinin yerine geçer ve komşu karakterlere bağlanmayabilir.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Bu glifin karakteri yok, bu yüzden eklenemez. Uygulamak için “Geçerli Seçim için Alternatifler”i kullanın.
|
||||
Double-click to insert Eklemek için çift tıklayın
|
||||
Double-click to rename Yeniden adlandırmak için çift tıklayın
|
||||
Double-click to target the contents İçeriği hedeflemek için çift tıklayın
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 5 and column 25.
|
@@ -855,6 +855,8 @@ font-technology Variable Варіативні
|
||||
The selected character's font is not available. Шрифт виділеного символу недоступний.
|
||||
No alternates for the selected character. Виділений символ не має альтернатив.
|
||||
Double-click to replace Двічі клацніть для заміни
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Жодна функція OpenType не малює тут цей гліф, тому він замінює гліф символу й може не з’єднуватися із сусідніми символами.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. У цього гліфа немає символу, тому його не можна вставити. Щоб застосувати його, скористайтеся «Альтернативи для поточного виділення».
|
||||
Double-click to insert Двічі клацніть для вставки
|
||||
Double-click to rename Двічі клацніть для перейменування
|
||||
Double-click to target the contents Двічі клацніть, щоб вибрати вміст як об’єкт
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 177 and column 5.
|
@@ -999,6 +999,8 @@ font-technology Variable Biến thiên
|
||||
The selected character's font is not available. Phông chữ của ký tự đã chọn không khả dụng.
|
||||
No alternates for the selected character. Ký tự đã chọn không có glyph thay thế.
|
||||
Double-click to replace Bấm đúp để thay thế
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. Không có tính năng OpenType nào vẽ glyph này ở đây, nên nó thay glyph của ký tự và có thể không nối với các ký tự bên cạnh.
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. Glyph này không có ký tự nên không thể chèn. Hãy dùng “Glyph thay thế cho vùng chọn hiện tại” để áp dụng.
|
||||
Double-click to insert Bấm đúp để chèn
|
||||
Double-click to rename Bấm đúp để đổi tên
|
||||
Double-click to target the contents Bấm đúp để chọn nội dung
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 199 and column 5.
|
@@ -803,6 +803,8 @@
|
||||
The selected character's font is not available. 所选字符的字体不可用。
|
||||
No alternates for the selected character. 所选字符没有替代字。
|
||||
Double-click to replace 双击以替换
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. 没有任何 OpenType 功能会在此处绘制该字形,因此它会替换该字符的字形,并且可能无法与相邻字符连接。
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. 此字形没有对应的字符,无法插入。请使用“当前所选字符的替代字”来应用它。
|
||||
Double-click to insert 双击以插入
|
||||
Double-click to rename 双击以重命名
|
||||
Double-click to target the contents 双击以指定内容
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -823,6 +823,8 @@ font-technology Variable 可變
|
||||
The selected character's font is not available. 選取字元的字體無法使用。
|
||||
No alternates for the selected character. 選取的字元沒有替代字。
|
||||
Double-click to replace 按兩下以取代
|
||||
No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors. 沒有任何 OpenType 功能會在此處繪製該字形,因此它會取代該字元的字形,且可能無法與相鄰字元連接。
|
||||
This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it. 此字形沒有對應的字元,無法插入。請使用「目前選取字元的替代字」來套用。
|
||||
Double-click to insert 按兩下以插入
|
||||
Double-click to rename 按兩下以重新命名
|
||||
Double-click to target the contents 按兩下以指定內容
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
@@ -1,8 +1,10 @@
|
||||
//! Glyphs panel: every character the current font maps (its cmap), drawn from the font's own
|
||||
//! outlines. Double-click inserts the character at the Type tool's caret (or appends it to the
|
||||
//! selected text objects). The character selected with the Type tool is highlighted in the grid.
|
||||
//! Show › Alternates for Current Selection lists that character's alternate glyphs instead, and a
|
||||
//! double-click draws the character with one of them.
|
||||
//! outlines; Show › Entire Font adds the glyphs no character maps, by glyph id. Double-click
|
||||
//! inserts the character at the Type tool's caret (or appends it to the selected text objects).
|
||||
//! The character selected with the Type tool is highlighted in the grid.
|
||||
//! Show › Alternates for Current Selection lists that character's alternate glyphs instead (as it
|
||||
//! stands in its word), and a double-click applies the OpenType feature that draws one to that
|
||||
//! character alone, so the text stays real text that joins its neighbors.
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
@@ -240,9 +242,13 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
};
|
||||
let chars: Vec<(char, u32)> =
|
||||
face.chars().into_iter().filter(|(c, _)| (lo..=hi).contains(&(*c as u32)) && !c.is_control() && !c.is_whitespace()).collect();
|
||||
// Entire Font also lists the glyphs no character maps (positional forms, alternates,
|
||||
// ligatures) by glyph id, after the characters.
|
||||
let unencoded = if subset == 0 { face.unencoded_glyphs() } else { Default::default() };
|
||||
let total = chars.len() + unencoded.len();
|
||||
let cell = CELL_STEPS[cell_index(app)];
|
||||
let cols = ((w / cell).floor() as usize).max(1);
|
||||
let rows = chars.len().div_ceil(cols);
|
||||
let rows = total.div_ceil(cols);
|
||||
let px = (cell * ui.ctx().pixels_per_point()).round().clamp(8.0, 256.0) as u32;
|
||||
let list_h = (ui.available_height() - 64.0).max(cell * 3.0);
|
||||
let hover_id = egui::Id::unique("gl-hover");
|
||||
@@ -264,9 +270,13 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
for r in range.clone() {
|
||||
ui.horizontal(|ui| {
|
||||
ui.spacing_mut().item_spacing = vec2(0.0, 0.0);
|
||||
for &(c, gid) in chars.iter().skip(r * cols).take(cols) {
|
||||
for k in r * cols..((r + 1) * cols).min(total) {
|
||||
let (c, gid) = match chars.get(k) {
|
||||
Some(&(c, gid)) => (Some(c), gid),
|
||||
None => (None, unencoded.get(k - chars.len()).copied().unwrap_or_default()),
|
||||
};
|
||||
let (rect, resp) = ui.allocate_exact_size(vec2(cell, cell), Sense::click());
|
||||
let chosen = selected == Some(c);
|
||||
let chosen = c.is_some() && selected == c;
|
||||
if resp.hovered() {
|
||||
ui.painter().rect_filled(rect, 2, t.hover);
|
||||
ui.ctx().data_mut(|d| d.insert_temp(hover_id, (c, gid)));
|
||||
@@ -277,9 +287,18 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
ui.painter().rect_stroke(rect.shrink(0.5), 0, edge, StrokeKind::Inside);
|
||||
let tex = glyph_texture(ui.ctx(), &face, gid, px);
|
||||
ui.painter().image(tex.id(), rect, egui::Rect::from_min_max(egui::pos2(0.0, 0.0), egui::pos2(1.0, 1.0)), t.text_strong);
|
||||
let resp = resp.on_hover_text(format!("U+{:04X} {c} (glyph {gid})\n{}", c as u32, tl!("Double-click to insert")));
|
||||
let tip = match c {
|
||||
Some(c) => format!("U+{:04X} {c} (glyph {gid})\n{}", c as u32, tl!("Double-click to insert")),
|
||||
None => unencoded_tip(&face, gid),
|
||||
};
|
||||
let resp = resp.on_hover_text(tip);
|
||||
if resp.double_clicked() {
|
||||
insert(app, ui.ctx(), c);
|
||||
match c {
|
||||
Some(c) => insert(app, ui.ctx(), c),
|
||||
None => app.status(tl!(
|
||||
"This glyph has no character, so it can't be inserted. Use Alternates for Current Selection to apply it."
|
||||
)),
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -288,16 +307,18 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
});
|
||||
ui.ctx().data_mut(|d| d.insert_temp(follow_id, (selected, shown.inner)));
|
||||
ui.add_space(4.0);
|
||||
let info = ui.ctx().data(|d| d.get_temp::<(char, u32)>(hover_id));
|
||||
let info = ui.ctx().data(|d| d.get_temp::<(Option<char>, u32)>(hover_id));
|
||||
let count = crate::i18n::tn(total as u64, "{n} glyph", "{n} glyphs");
|
||||
ui.label(
|
||||
egui::RichText::new(match info {
|
||||
Some((c, g)) => format!(
|
||||
"U+{:04X} {} · {}",
|
||||
c as u32,
|
||||
crate::i18n::fmt(tl!("glyph {id}"), &[("id", &g.to_string())]),
|
||||
crate::i18n::tn(chars.len() as u64, "{n} glyph", "{n} glyphs")
|
||||
),
|
||||
None => crate::i18n::tn(chars.len() as u64, "{n} glyph", "{n} glyphs"),
|
||||
Some((c, g)) => {
|
||||
let glyph = crate::i18n::fmt(tl!("glyph {id}"), &[("id", &g.to_string())]);
|
||||
match c {
|
||||
Some(c) => format!("U+{:04X} {glyph} · {count}", c as u32),
|
||||
None => format!("{glyph} · {count}"),
|
||||
}
|
||||
}
|
||||
None => count,
|
||||
})
|
||||
.size(11.0)
|
||||
.color(t.text_dim),
|
||||
@@ -340,11 +361,36 @@ fn font_row(app: &mut VectorcraftApp, ui: &mut Ui, family: &str, style: &str, w:
|
||||
});
|
||||
}
|
||||
|
||||
/// One cell of Show › Alternates for Current Selection: a glyph, the feature that lists it, and the
|
||||
/// feature tag that draws it on the selected character in its word (`salt=2`), when one does.
|
||||
struct Variant {
|
||||
gid: u32,
|
||||
feature: [u8; 4],
|
||||
apply: Option<String>,
|
||||
/// The glyph the shaper makes for the character with none of its own alternate features.
|
||||
default: bool,
|
||||
}
|
||||
|
||||
/// What a double-click on a variant does to the selected character.
|
||||
enum Pick {
|
||||
/// Back to the default glyph: its alternate features off, a glyph choice taken away.
|
||||
Default,
|
||||
/// A feature that draws the variant: the text stays real Unicode and its word stays joined.
|
||||
Feature(String),
|
||||
/// No feature draws it: it replaces the character's glyph (`text.setGlyphAlternate`), which is
|
||||
/// shaped apart from its neighbors.
|
||||
Glyph(u32),
|
||||
}
|
||||
|
||||
/// The grid of Show › Alternates for Current Selection: the alternate glyphs of the Type tool's
|
||||
/// selected character in the face its text is set in, whatever font the panel browses
|
||||
/// ([`vectorcraft_text::FontFace::alternates`]), with that face's name under the grid. The default
|
||||
/// glyph comes first when the font does not list it. The glyph the character is drawn with is
|
||||
/// highlighted. A double-click draws the character with the glyph (`text.setGlyphAlternate`).
|
||||
/// selected character as it stands in its word ([`vectorcraft_text::alternates_in_context`]: a
|
||||
/// medial letter lists its medial form's alternates), in the face the text is set in, whatever font
|
||||
/// the panel browses, with that face's name under the grid. The glyph the shaper makes for the
|
||||
/// character with none of its own alternate features comes first, and the glyph the character is
|
||||
/// drawn with is highlighted. A double-click applies the OpenType feature that draws the glyph to
|
||||
/// that character alone (`text.setRangeStyle`, `salt=2`), as one undo step, so the text stays real
|
||||
/// text that joins its neighbors. A glyph no feature draws there replaces the character's glyph
|
||||
/// instead (`text.setGlyphAlternate`), and its tooltip says that it may not join.
|
||||
fn alternates(app: &mut VectorcraftApp, ui: &mut Ui, w: f32) {
|
||||
let t = Tokens::get(ui.ctx());
|
||||
let db = FontDb::global();
|
||||
@@ -360,13 +406,25 @@ fn alternates(app: &mut VectorcraftApp, ui: &mut Ui, w: f32) {
|
||||
return note(ui, tl!("The selected character's font is not available."));
|
||||
};
|
||||
let (id, byte, ch) = (target.id, target.byte, target.ch);
|
||||
let (list, drawn) = alternates_and_drawn(app, ui, &face, id, byte, ch);
|
||||
let (features, has_choice) = (target.style.features.clone(), target.style.glyph_alternate.is_some());
|
||||
let found = alternates_found(app, ui, id, byte, face.id());
|
||||
let font = format!("{} {}", face.family, face.style);
|
||||
if list.is_empty() {
|
||||
let Some(found) = found.filter(|f| !f.alternates.is_empty()) else {
|
||||
note(ui, tl!("No alternates for the selected character."));
|
||||
ui.label(egui::RichText::new(font).size(11.0).color(t.text_dim));
|
||||
return;
|
||||
}
|
||||
};
|
||||
// The glyphs are drawn from the face that supplied the character's glyph (a fallback face for
|
||||
// a character the text's font lacks).
|
||||
let face = db.face_by_id(found.font_id).unwrap_or(face);
|
||||
let drawn = Some(found.current);
|
||||
let mut list = vec![Variant { gid: found.default, feature: [0; 4], apply: None, default: true }];
|
||||
list.extend(found.alternates.iter().filter(|a| a.gid != found.default).map(|a| Variant {
|
||||
gid: a.gid,
|
||||
feature: a.feature,
|
||||
apply: a.apply.clone(),
|
||||
default: false,
|
||||
}));
|
||||
let cell = CELL_STEPS[cell_index(app)];
|
||||
let cols = ((w / cell).floor() as usize).max(1);
|
||||
let rows = list.len().div_ceil(cols);
|
||||
@@ -381,7 +439,7 @@ fn alternates(app: &mut VectorcraftApp, ui: &mut Ui, w: f32) {
|
||||
ui.spacing_mut().item_spacing = vec2(0.0, 0.0);
|
||||
for a in list.iter().skip(r * cols).take(cols) {
|
||||
let (rect, resp) = ui.allocate_exact_size(vec2(cell, cell), Sense::click());
|
||||
let current = drawn.is_some_and(|(font_id, gid)| font_id == face.id() && a.gid == gid);
|
||||
let current = drawn == Some(a.gid);
|
||||
if resp.hovered() {
|
||||
ui.painter().rect_filled(rect, 2, t.hover);
|
||||
} else if current {
|
||||
@@ -392,10 +450,25 @@ fn alternates(app: &mut VectorcraftApp, ui: &mut Ui, w: f32) {
|
||||
let tex = glyph_texture(ui.ctx(), &face, a.gid, px);
|
||||
ui.painter().image(tex.id(), rect, egui::Rect::from_min_max(egui::pos2(0.0, 0.0), egui::pos2(1.0, 1.0)), t.text_strong);
|
||||
let glyph = crate::i18n::fmt(tl!("glyph {id}"), &[("id", &a.gid.to_string())]);
|
||||
let glyph = if a.feature == [0; 4] { glyph } else { format!("{glyph} ({})", String::from_utf8_lossy(&a.feature)) };
|
||||
let resp = resp.on_hover_text(format!("{glyph}\n{}", tl!("Double-click to replace")));
|
||||
let glyph = match (&a.apply, a.default) {
|
||||
(_, true) => glyph,
|
||||
(Some(tag), _) => format!("{glyph} ({tag})"),
|
||||
(None, _) => format!("{glyph} ({})", String::from_utf8_lossy(&a.feature)),
|
||||
};
|
||||
let mut tip = format!("{glyph}\n{}", tl!("Double-click to replace"));
|
||||
if !a.default && a.apply.is_none() {
|
||||
tip.push('\n');
|
||||
tip.push_str(tl!(
|
||||
"No OpenType feature draws this glyph here, so it replaces the character's glyph and may not join its neighbors."
|
||||
));
|
||||
}
|
||||
let resp = resp.on_hover_text(tip);
|
||||
if resp.double_clicked() {
|
||||
pick = Some(a.gid);
|
||||
pick = Some(match (&a.apply, a.default) {
|
||||
(_, true) => Pick::Default,
|
||||
(Some(tag), _) => Pick::Feature(tag.clone()),
|
||||
(None, _) => Pick::Glyph(a.gid),
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -404,28 +477,61 @@ fn alternates(app: &mut VectorcraftApp, ui: &mut Ui, w: f32) {
|
||||
ui.add_space(4.0);
|
||||
let count = crate::i18n::tn(list.len() as u64, "{n} glyph", "{n} glyphs");
|
||||
ui.label(egui::RichText::new(format!("{font} · {count}")).size(11.0).color(t.text_dim));
|
||||
if let Some(gid) = pick {
|
||||
if let Some(pick) = pick {
|
||||
super::character::end_typing(app);
|
||||
if let Err(e) = app.run("text.setGlyphAlternate", json!({"id": id.0, "start": byte, "gid": gid})) {
|
||||
app.status(e.to_string());
|
||||
}
|
||||
apply_alternate(app, id, (byte, byte + ch.len_utf8()), &features, has_choice, pick);
|
||||
}
|
||||
}
|
||||
|
||||
/// The alternates of `ch` in `face` and the face id and glyph the text object `id` draws the
|
||||
/// character at `byte` with. Both are kept in egui's temporary data until the document, the
|
||||
/// character or the face changes, as [`super::character`] keeps the kerning at the caret.
|
||||
fn alternates_and_drawn(
|
||||
app: &VectorcraftApp,
|
||||
ui: &Ui,
|
||||
face: &vectorcraft_text::FontFace,
|
||||
id: NodeId,
|
||||
byte: usize,
|
||||
ch: char,
|
||||
) -> (Vec<vectorcraft_text::GlyphAlternate>, Option<(u32, u32)>) {
|
||||
type Found = (Vec<vectorcraft_text::GlyphAlternate>, Option<(u32, u32)>);
|
||||
/// Do what a double-click on a variant says to the character at `bytes` of text `id`, whose style
|
||||
/// has `features` and, when `has_choice`, a glyph choice: one command, so one undo step. A feature
|
||||
/// goes through `text.setRangeStyle` on exactly the character (its other alternate features are
|
||||
/// turned off, a glyph choice is taken away); a glyph no feature draws through
|
||||
/// `text.setGlyphAlternate`. The default glyph, or a variant the character already has, changes
|
||||
/// nothing.
|
||||
fn apply_alternate(app: &mut VectorcraftApp, id: NodeId, bytes: (usize, usize), features: &[String], has_choice: bool, pick: Pick) {
|
||||
let (cmd, params) = match pick {
|
||||
Pick::Glyph(gid) => ("text.setGlyphAlternate", json!({"id": id.0, "start": bytes.0, "gid": gid})),
|
||||
Pick::Default | Pick::Feature(_) => {
|
||||
let tag = if let Pick::Feature(tag) = &pick { Some(tag.as_str()) } else { None };
|
||||
let changes = vectorcraft_text::alternate_changes(features, tag);
|
||||
if changes.is_empty() && !has_choice {
|
||||
return;
|
||||
}
|
||||
let mut params = json!({"id": id.0, "start": bytes.0, "end": bytes.1});
|
||||
if !changes.is_empty() {
|
||||
params["featureChanges"] = json!(changes);
|
||||
}
|
||||
if has_choice {
|
||||
params["glyphAlternate"] = serde_json::Value::Null;
|
||||
}
|
||||
("text.setRangeStyle", params)
|
||||
}
|
||||
};
|
||||
if let Err(e) = app.run(cmd, params) {
|
||||
app.status(e.to_string());
|
||||
}
|
||||
}
|
||||
|
||||
/// The tooltip of a glyph no character maps (Show › Entire Font): its name from the font, `gid N`
|
||||
/// when it has none, its id, and the feature that gives it, if one does.
|
||||
fn unencoded_tip(face: &vectorcraft_text::FontFace, gid: u32) -> String {
|
||||
let name = face.glyph_name(gid).unwrap_or_else(|| format!("gid {gid}"));
|
||||
let glyph = crate::i18n::fmt(tl!("glyph {id}"), &[("id", &gid.to_string())]);
|
||||
match face.feature_reaching(gid) {
|
||||
Some(feature) => format!("{name} ({glyph}) · {}", String::from_utf8_lossy(&feature)),
|
||||
None => format!("{name} ({glyph})"),
|
||||
}
|
||||
}
|
||||
|
||||
/// The alternates of the character at `byte` of text `id` in its word, and the glyph it is drawn
|
||||
/// with ([`vectorcraft_text::alternates_in_context`]). Kept in egui's temporary data until the
|
||||
/// document, the character or the face changes, as [`super::character`] keeps the kerning at the
|
||||
/// caret.
|
||||
fn alternates_found(app: &VectorcraftApp, ui: &Ui, id: NodeId, byte: usize, face_id: u32) -> Option<vectorcraft_text::ContextAlternates> {
|
||||
type Found = Option<vectorcraft_text::ContextAlternates>;
|
||||
let state = app.session.active();
|
||||
let key = state.map(|s| (s.uid, s.revision, id, byte, face.id()));
|
||||
let key = state.map(|s| (s.uid, s.revision, id, byte, face_id));
|
||||
let slot = ui.scope_id().with("gl-alternates-found");
|
||||
if let Some(key) = key
|
||||
&& let Some((cached_key, found)) = ui.ctx().data(|d| d.get_temp::<((u64, u64, NodeId, usize, u32), Found)>(slot))
|
||||
@@ -433,20 +539,10 @@ fn alternates_and_drawn(
|
||||
{
|
||||
return found;
|
||||
}
|
||||
let drawn = state
|
||||
.and_then(|s| s.doc.node(id))
|
||||
.and_then(|node| match &node.kind {
|
||||
NodeKind::Text(text) => Some(vectorcraft_text::layout(FontDb::global(), text)),
|
||||
_ => None,
|
||||
})
|
||||
.and_then(|layout| layout.glyphs.into_iter().find(|g| g.byte <= byte && byte < g.byte.saturating_add(g.len)))
|
||||
.map(|g| (g.font_id, g.gid));
|
||||
let mut list = face.alternates(ch);
|
||||
let default = face.glyph_for(ch);
|
||||
if !list.is_empty() && default != 0 && !list.iter().any(|a| a.gid == default) {
|
||||
list.insert(0, vectorcraft_text::GlyphAlternate { gid: default, feature: [0; 4] });
|
||||
}
|
||||
let found = (list, drawn);
|
||||
let found = state.and_then(|s| s.doc.node(id)).and_then(|node| match &node.kind {
|
||||
NodeKind::Text(text) => vectorcraft_text::alternates_in_context(FontDb::global(), text, byte),
|
||||
_ => None,
|
||||
});
|
||||
if let Some(key) = key {
|
||||
ui.ctx().data_mut(|d| d.insert_temp(slot, (key, found.clone())));
|
||||
}
|
||||
@@ -800,6 +896,122 @@ mod tests {
|
||||
assert_eq!(highlighted(&found, &t), [squares(&found)[5].center()], "the chosen glyph, after b, u2, u4 and u3");
|
||||
}
|
||||
|
||||
/// Double-click the glyph cell at `at`.
|
||||
fn double_click(ctx: &egui::Context, app: &mut VectorcraftApp, at: Pos2) {
|
||||
let button = |pressed| egui::Event::PointerButton { pos: at, button: egui::PointerButton::Primary, pressed, modifiers: Default::default() };
|
||||
// Time only moves forward in one egui context.
|
||||
let mut time = ctx.input(|i| i.time) + 10.0;
|
||||
let mut timed = |app: &mut VectorcraftApp, events: Vec<egui::Event>| {
|
||||
time += 0.05;
|
||||
let screen = Some(Rect::from_min_size(Pos2::ZERO, vec2(280.0, 420.0)));
|
||||
let mut out = ctx.run_ui(egui::RawInput { screen_rect: screen, time: Some(time), events, ..Default::default() }, |ui| show(app, ui));
|
||||
out.textures_delta.clear();
|
||||
};
|
||||
timed(app, vec![egui::Event::PointerMoved(at)]);
|
||||
for _ in 0..2 {
|
||||
timed(app, vec![button(true)]);
|
||||
timed(app, vec![button(false)]);
|
||||
}
|
||||
}
|
||||
|
||||
/// The glyph ids of the text `id`, in the order of its characters.
|
||||
fn glyph_ids(app: &VectorcraftApp, id: &serde_json::Value) -> Vec<u32> {
|
||||
let NodeKind::Text(text) = &app.session.active().unwrap().doc.node(NodeId(id.as_u64().unwrap())).unwrap().kind else { panic!("text") };
|
||||
let mut glyphs = vectorcraft_text::layout(FontDb::global(), text).glyphs;
|
||||
glyphs.sort_by_key(|g| g.byte);
|
||||
glyphs.iter().map(|g| g.gid).collect()
|
||||
}
|
||||
|
||||
/// For the selected medial letter of an Arabic word the grid lists that form's alternates, and
|
||||
/// a double-click applies the feature that draws one to that letter alone, as one undo step:
|
||||
/// the word keeps its joining forms and the text its characters; undo takes it back.
|
||||
#[test]
|
||||
fn a_double_click_applies_a_feature_value_to_one_letter_of_a_joined_word() {
|
||||
use vectorcraft_text::test_fonts::{JOINING_ALTERNATES_FAMILY, joining_alternates_font, source_sans_gid};
|
||||
FontDb::global().add_font(joining_alternates_font().expect("the test font builds"));
|
||||
let g = |c| u32::from(source_sans_gid(c).expect("a glyph"));
|
||||
let (mut app, id) = editing("\u{628}\u{62A}\u{646}");
|
||||
app.run("text.setRangeStyle", json!({"id": id, "font": JOINING_ALTERNATES_FAMILY})).unwrap();
|
||||
assert_eq!(glyph_ids(&app, &id), [g('B'), g('u'), g('M')]);
|
||||
select(&mut app, 2, 4);
|
||||
let ctx = egui::Context::default();
|
||||
let t = Tokens::get(&ctx);
|
||||
choose(&ctx, &mut app, "Alternates for Current Selection");
|
||||
let found = shapes(&ctx, &mut app, vec![]);
|
||||
let cells = squares(&found);
|
||||
assert_eq!(cells.len(), 4, "the medial teh and its three alternates, not the isolated form's");
|
||||
assert_eq!(highlighted(&found, &t), [cells[0].center()], "the form the letter has is first and drawn");
|
||||
let undo = app.session.active().unwrap().history.undo.len();
|
||||
double_click(&ctx, &mut app, cells[2].center());
|
||||
assert_eq!(app.session.active().unwrap().history.undo.len(), undo + 1, "one undo step; status: {}", app.ui.status);
|
||||
let NodeKind::Text(text) = &app.session.active().unwrap().doc.node(NodeId(id.as_u64().unwrap())).unwrap().kind else { panic!("text") };
|
||||
assert_eq!(text.plain_text(), "\u{628}\u{62A}\u{646}", "the text keeps its characters");
|
||||
let features: Vec<(String, Vec<String>)> = text.runs.iter().map(|r| (r.text.clone(), r.style.features.clone())).collect();
|
||||
assert_eq!(
|
||||
features,
|
||||
[("\u{628}".to_string(), vec![]), ("\u{62A}".to_string(), vec!["salt=2".to_string()]), ("\u{646}".to_string(), vec![])],
|
||||
"the feature is on exactly that letter"
|
||||
);
|
||||
assert!(text.runs.iter().all(|r| r.style.glyph_alternate.is_none()));
|
||||
assert_eq!(glyph_ids(&app, &id), [g('B'), g('x'), g('M')], "the neighbours keep their initial and final forms");
|
||||
// The pointer leaves the cell: a hovered cell is painted as hovered, not as the drawn one.
|
||||
shapes(&ctx, &mut app, vec![egui::Event::PointerMoved(Pos2::ZERO)]);
|
||||
let found = shapes(&ctx, &mut app, vec![]);
|
||||
assert_eq!(highlighted(&found, &t), [squares(&found)[2].center()], "the applied variant is the one drawn");
|
||||
// The default glyph takes the feature off again, and undo takes each step back.
|
||||
double_click(&ctx, &mut app, squares(&found)[0].center());
|
||||
assert_eq!(glyph_ids(&app, &id), [g('B'), g('u'), g('M')]);
|
||||
app.run("edit.undo", json!({})).unwrap();
|
||||
assert_eq!(glyph_ids(&app, &id), [g('B'), g('x'), g('M')]);
|
||||
app.run("edit.undo", json!({})).unwrap();
|
||||
assert_eq!(glyph_ids(&app, &id), [g('B'), g('u'), g('M')]);
|
||||
let NodeKind::Text(text) = &app.session.active().unwrap().doc.node(NodeId(id.as_u64().unwrap())).unwrap().kind else { panic!("text") };
|
||||
assert!(text.runs.iter().all(|r| r.style.features.is_empty()), "undo restores the features");
|
||||
}
|
||||
|
||||
/// A variant no feature draws is still enabled: it replaces the glyph (`text.setGlyphAlternate`).
|
||||
#[test]
|
||||
fn a_variant_no_feature_draws_replaces_the_glyph() {
|
||||
use vectorcraft_text::test_fonts::{alternates_family, alternates_font};
|
||||
FontDb::global().add_font(alternates_font(true).expect("the test font builds"));
|
||||
let (mut app, id) = editing("xay");
|
||||
app.run("text.setRangeStyle", json!({"id": id, "font": alternates_family(true)})).unwrap();
|
||||
select(&mut app, 2, 2);
|
||||
let ctx = egui::Context::default();
|
||||
choose(&ctx, &mut app, "Alternates for Current Selection");
|
||||
let cells = squares(&shapes(&ctx, &mut app, vec![]));
|
||||
let face = FontDb::global().face(alternates_family(true), "Regular").expect("the test face");
|
||||
// The last cell is cv01's glyph c, which the style has no tag for.
|
||||
double_click(&ctx, &mut app, cells[cells.len() - 1].center());
|
||||
assert_eq!(glyph_ids(&app, &id)[1], face.glyph_for('c'));
|
||||
let NodeKind::Text(text) = &app.session.active().unwrap().doc.node(NodeId(id.as_u64().unwrap())).unwrap().kind else { panic!("text") };
|
||||
assert!(text.runs.iter().any(|r| r.style.glyph_alternate.is_some()));
|
||||
// A feature variant afterwards takes the choice away in the same step.
|
||||
let found = shapes(&ctx, &mut app, vec![]);
|
||||
let undo = app.session.active().unwrap().history.undo.len();
|
||||
double_click(&ctx, &mut app, squares(&found)[2].center());
|
||||
assert_eq!(app.session.active().unwrap().history.undo.len(), undo + 1);
|
||||
let NodeKind::Text(text) = &app.session.active().unwrap().doc.node(NodeId(id.as_u64().unwrap())).unwrap().kind else { panic!("text") };
|
||||
assert!(text.runs.iter().all(|r| r.style.glyph_alternate.is_none()), "the choice is gone");
|
||||
}
|
||||
|
||||
/// Show › Entire Font also lists the glyphs no character maps.
|
||||
#[test]
|
||||
fn entire_font_lists_the_unencoded_glyphs() {
|
||||
use vectorcraft_text::test_fonts::{JOINING_ALTERNATES_FAMILY, joining_alternates_font};
|
||||
FontDb::global().add_font(joining_alternates_font().expect("the test font builds"));
|
||||
let (mut app, id) = editing("\u{628}");
|
||||
app.run("text.setRangeStyle", json!({"id": id, "font": JOINING_ALTERNATES_FAMILY})).unwrap();
|
||||
let face = FontDb::global().face(JOINING_ALTERNATES_FAMILY, "Regular").expect("the test face");
|
||||
let encoded = face.chars().into_iter().filter(|(c, _)| !c.is_control() && !c.is_whitespace()).count();
|
||||
let unencoded = face.unencoded_glyphs();
|
||||
assert!(unencoded.len() > 1000 && encoded == 4, "{} unencoded, {encoded} encoded", unencoded.len());
|
||||
let ctx = egui::Context::default();
|
||||
let all = texts(&ctx, &mut app);
|
||||
assert!(all.iter().any(|s| s == &format!("{} glyphs", encoded + unencoded.len())), "{all:?}");
|
||||
assert!(face.glyph_name(unencoded[0]).is_some(), "the font names its glyphs");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn zoom_stops_at_the_ends() {
|
||||
assert_eq!(nudge_cell(CELL_DEFAULT, 1), CELL_DEFAULT + 1);
|
||||
|
||||
+4
-1
@@ -1,6 +1,6 @@
|
||||
# Gaps
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-07 · **Change:** minor (Indian-language hyphenation review and license allowlist, #4947; opening a slow file shows a progress window, part of #5930; Hindi catalog and contributor loanword preferences; agent wording pass complete; wider native proofreading welcome; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); scores and estimates unchanged; a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window; scores and estimates unchanged; large images in CMYK documents are shrunk before they are separated into ink planes (#4155); scores and estimates unchanged; `.ai` paths with a Calligraphic brush open brushed, with the 6D Art Pen's channels, and Windows reads the pen's tilt and barrel rotation, #372; scores and estimates unchanged; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; a slow first frame is waited for instead of restarting without the graphics adapter, and the menu bar no longer waits for the installed fonts' scan; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-07 · **Change:** minor (Glyphs panel: Alternates for Current Selection applies an OpenType feature value (`salt=2`) to the selected letter alone, so an Arabic word stays joined, and Entire Font lists the unencoded glyphs, #5514; Indian-language hyphenation review and license allowlist, #4947; opening a slow file shows a progress window, part of #5930; Hindi catalog and contributor loanword preferences; agent wording pass complete; wider native proofreading welcome; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); scores and estimates unchanged; a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window; scores and estimates unchanged; large images in CMYK documents are shrunk before they are separated into ink planes (#4155); scores and estimates unchanged; `.ai` paths with a Calligraphic brush open brushed, with the 6D Art Pen's channels, and Windows reads the pen's tilt and barrel rotation, #372; scores and estimates unchanged; Compound Shapes add-on, beyond Illustrator; scores and estimates unchanged; Contour add-on, beyond Illustrator; scores and estimates unchanged; a slow first frame is waited for instead of restarting without the graphics adapter, and the menu bar no longer waits for the installed fonts' scan; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
|
||||
|
||||
## Feature submission evidence
|
||||
|
||||
@@ -372,6 +372,8 @@ from G14 and the budget run of G15: **~170–270 h** one agent, ~50–80 h wall
|
||||
|
||||
## G4 Advanced type
|
||||
|
||||
- **Done (#5514):** the Glyphs panel's Alternates for Current Selection lists the alternates of the glyph the shaper makes for the selected character in its word, and a double-click applies the OpenType feature value that draws one (`salt=2`, `ss03`) to that character alone, in one undo step, so the text stays real Unicode and an Arabic word keeps its joining forms: runs that differ only in their features are shaped as one piece of text. A variant no feature draws there is still drawn as a replacement glyph, which may not join. Show › Entire Font lists the unencoded glyphs by id, with their name and the feature that gives them. Left: alternates reached through contextual or ligature lookups, and `cv01`–`cv99` and `hist`, which have no style tag; estimate unchanged.
|
||||
|
||||
- **Fixed:** fullwidth `!` / `?` stay upright in vertical point and area type when a font has no vertical alternate. Existing `vert` substitutions and the rotated fallback for brackets and long vowel marks are preserved; the broader CJK gap and estimate are unchanged.
|
||||
|
||||
- **Done:** character-style Auto-leading resets propagate to style users while retaining local leading overrides. Sparse definitions remain sparse, native serialization retains explicit Auto, and the Character Styles override marker stays consistent.
|
||||
@@ -817,6 +819,7 @@ trap, and the defaults (0.25 pt, 100%, 40%) are VectorCraft's own, the pages giv
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-07 | minor | G4: the Glyphs panel's Alternates for Current Selection applies the OpenType feature that draws a variant to that letter alone (`salt=2`; the style commands take `tag=N`; runs that differ only in their features shape as one piece of text), so an Arabic word stays joined, and Show › Entire Font lists the unencoded glyphs (#5514). Estimate unchanged. |
|
||||
| 2026-11-06 | minor | Hindi (`hi`): 7,877-row machine-assisted catalog, zero/one singular plurals, desktop font fallback and optional Devanagari craft-fonts fallback; all 55 translation tests pass; native review and a web font remain; scores and estimates unchanged |
|
||||
| 2026-11-05 | minor | G15: nearby hits on plain long strokes and outlines check their candidate segments directly; a 200,000-anchor middle hit took about 11–13 ms before and 1.0–1.4 ms after in paired runs. An inside-bounds miss fell from 18.7 ms to 1.6 ms. Estimate unchanged; idle budget run still open. |
|
||||
| 2026-11-05 | minor | G15: an image zoomed in on is separated, colorized or proofed only for the tiles in view (#4155); 100% zoom on that file 8.6 s → 0.05 s. Estimate unchanged. |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Parity with Adobe Illustrator
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-07 · **Change:** minor (the canvas keeps selection outlines and anchors between frames; Indian-language hyphenation review and license allowlist, #4947; Stroke gradients: an arrowhead aligned to the tip is painted to the corners of its base, #5964; Drop Shadow and glow dialogs: spinner arrows, #5367, #5368; Stroke Weight Up and Down shortcuts, #5797; Hindi catalog and contributor loanword preferences; full wording review in progress; Properties in Edit Artboards: a Transform section with the reference point above the Artboards section, #5219; the Control bar's Stroke: and Opacity: links scrub their fields, #4088; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window, #4155; Control bar Paragraph section with type selected, #5372; translating unchanged type reuses its glyph and character-stroke outlines; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x; public release notes through 30.7, August 2026)
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-07 · **Change:** minor (Glyphs panel: Alternates for Current Selection applies the OpenType feature that draws a variant to that letter alone, so an Arabic word stays joined, with feature values `salt=2` in the style commands, and Entire Font lists the unencoded glyphs, #5514; the canvas keeps selection outlines and anchors between frames; Indian-language hyphenation review and license allowlist, #4947; Stroke gradients: an arrowhead aligned to the tip is painted to the corners of its base, #5964; Drop Shadow and glow dialogs: spinner arrows, #5367, #5368; Stroke Weight Up and Down shortcuts, #5797; Hindi catalog and contributor loanword preferences; full wording review in progress; Properties in Edit Artboards: a Transform section with the reference point above the Artboards section, #5219; the Control bar's Stroke: and Opacity: links scrub their fields, #4088; an image zoomed in on is separated, colorized or proofed only where it shows (#4155); a document's first frame renders on the render worker, so opening a heavy file no longer freezes the window, #4155; Control bar Paragraph section with type selected, #5372; translating unchanged type reuses its glyph and character-stroke outlines; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x; public release notes through 30.7, August 2026)
|
||||
|
||||
## Feature submission evidence
|
||||
|
||||
@@ -986,6 +986,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
|
||||
The OpenType panel's Stylistic Alternates and Titling Alternates checkboxes turn `salt` and `titl` on and off for the selected type, and its Figure menu lists Default Figure, Tabular Lining, Proportional Lining, Proportional Oldstyle and Tabular Oldstyle; Proportional Lining sets `pnum` and `lnum` and turns `tnum` and `onum` off, Tabular Lining turns `pnum` off and keeps `lnum`, Proportional Oldstyle turns `lnum` off and keeps `pnum`, and Default Figure and Tabular Oldstyle turn `pnum` and `lnum` off. Behavior reference: [Format text with OpenType features](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/format-text-with-opentype-features.html) and [Use swashes, titling alternates, or stylistic alternates](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/use-swashes-titling-alternates-or-stylistic-alternates.html) (public documentation). Tests: `panels::opentype::tests`.
|
||||
The OpenType panel's Position menu lists Default Position, Superscript, Subscript, Numerator and Denominator, as [Format text with OpenType features](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/format-text-with-opentype-features.html) describes; Superscript, Subscript, Numerator and Denominator set `sups`, `subs`, `numr` and `dnom` for the selected type and turn the other three off, and Default Position turns all four off. The menu shows Mixed when the characters it acts on differ, and an entry chosen then applies to all of them. These two rules are VectorCraft's own, as is setting the feature on type whose font lacks the glyphs, which then draws unchanged. The panel's menus and checkboxes change only their own features on each selected character, so characters keep their other OpenType features (`text.setStyle` and `text.setRangeStyle` `{featureChanges}`). Tests: `panels::opentype::tests`, `features::tests::numerators_and_denominators_are_kept_and_shaped`.
|
||||
The Glyphs panel's Show menu and panel menu have Alternates for Current Selection, as [Replace characters with alternate glyphs](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/replace-characters-with-alternate-glyphs.html) describes: the grid lists the alternate glyphs of the character selected with the Type tool, and a double-click draws that character with the glyph as one undo step (`text.glyphAlternates`, `text.setGlyphAlternate`). The alternates come from the font's `GSUB` single and alternate substitutions of `aalt`, then `salt`, `ss01` to `ss20`, `swsh`, `cv01` to `cv99` and a few other alternate features, each glyph once. The text keeps the character, native files keep the choice with the face it was made in, and type set in another font or version draws the default glyph. The list uses the font of the character's text even when the panel browses another font, and the panel shows a note when the character has no alternates, its font is missing or no character is selected; these rules are VectorCraft's own. Tests: `panels::glyphs::tests`, `tests::alternates`, `tests::textedit::a_glyph_alternate_replaces_one_character_through_undo_and_reopen`.
|
||||
The Glyphs panel's Alternates for Current Selection (#5514) applies the OpenType feature that draws the glyph to the selected character alone, as [Replace characters with alternate glyphs](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/replace-characters-with-alternate-glyphs.html) describes (Alternates For Current Selection in the Show menu; double-click the glyph to replace the selected character). One deliberate difference from a literal reading: the text keeps the Unicode character and gains a character-style feature with a value (`salt=2`, `ss03`; `text.setRangeStyle {featureChanges}`) instead of taking an unencoded glyph in its place. The grid lists the alternates of the glyph the shaper makes for the character in its word (a medial letter shows its medial variants; the glyph it has comes first and is highlighted); a variant no feature draws there stays enabled as a replacement glyph (`text.setGlyphAlternate`), and its tooltip says it may not join its neighbors; the default glyph takes the character's alternate features off again. Runs that differ only in their OpenType features are shaped as one piece of text, each run's features over its own characters, so the letters of an Arabic word keep their joining forms. Show › Entire Font also lists the glyphs no character maps, with the font's name for them (or `gid N`) and the feature that gives them. These rules are VectorCraft's own. Tests: `tests::glyph_alternates` in the text crate (a fixture font; Kufi Murabba PIIIX when it is installed), `panels::glyphs::tests`, `tests::textedit::feature_values_are_set_replaced_and_saved`.
|
||||
The OpenType panel's Stylistic Sets menu offers `ss01`–`ss20` sets present in the selected text's font, using the font's custom labels when available and numbered labels otherwise. Sets can be combined and deselected individually. With mixed fonts, the menu shows the first selected character's font's sets and applies the feature tag to all selected text; a font without that set draws unchanged. The mixed-font rule is a VectorCraft design choice. Behavior reference: [Add stylistic sets to selected text](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/add-stylistic-sets-to-selected-text.html) and the [OpenType specification](https://learn.microsoft.com/en-us/typography/opentype/spec/features_pt).
|
||||
`text.setStyle {stroke, strokeWidth}` sets the character stroke's color and weight of the selected type or of a range of its characters (the weight in document points, as `stroke.set` sets it), in the same undo step as the command's other changes. Tests: `tests::textedit::set_style_sets_the_character_stroke`.
|
||||
- **Paragraph alignment:** the shared Paragraph/Properties alignment row leaves every button unselected when the paragraphs it acts on differ. Auto resolves per paragraph; choosing an alignment uses the existing command. Headless paragraph_mixed_alignment_* regressions exercise mixed → Center → Undo, caret/uniform states, Unicode range boundaries, Auto/direction, split runs and grouped text. These regressions and full integration CI pass. Original captures confirm mixed → Center → Undo in the existing alignment-button layout. The [public Paragraph panel guide](https://helpx.adobe.com/illustrator/desktop/design-with-text/edit-format-text/paragraph-panel-overview.html) lists the seven controls, but does not specify mixed-state rendering. Other paragraph fields remain outside this change; scores and hours unchanged.
|
||||
@@ -1725,6 +1726,7 @@ Edit › Copy and Cut put the selected ruler guides on the clipboard, with the s
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-07 | minor | Type core: the Glyphs panel's Alternates for Current Selection applies the OpenType feature that draws a variant to the selected letter alone, so an Arabic word stays joined (`salt=2`; the style commands take `tag=N`), and Show › Entire Font lists the glyphs no character maps (#5514; [Replace characters with alternate glyphs](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/replace-characters-with-alternate-glyphs.html)); evidence added; scores unchanged. |
|
||||
| 2026-11-06 | minor | Direct Selection: with Snap to Grid, a dragged straight segment lands its anchors on the grid (#3835); evidence added; scores unchanged. |
|
||||
| 2026-11-06 | minor | Snap to Glyph › Glyph Bounds: the corners of each glyph's box are points a drawn point lands on, also on a curved side (`B`), and the box turns with rotated type, its edges then Angular Guides (#5112; [Snap to Glyph options](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/snap-to-glyph-options.html)); scores and estimates unchanged. |
|
||||
| 2026-11-06 | minor | Drop Shadow: a swatch beside Color opens the Color Picker over the dialog, as the other effect colour fields do (#5364); correction: the #5365 entry listed Drop Shadow, whose Color is drawn outside the shared grid and had no swatch; scores unchanged. |
|
||||
|
||||
+3
-1
@@ -1,6 +1,6 @@
|
||||
# Type parity
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-07 · **Change:** minor (Indian-language hyphenation review and license allowlist, #4947; Bulgarian among the languages, with its quote marks and the fonts' Bulgarian forms, #5945; previously minor: Show Snap to Glyph Options scrolls to the options, with a Snap to Glyph checkbox, #5273; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-07 · **Change:** minor (the Glyphs panel's Alternates for Current Selection applies the OpenType feature that draws a variant to that letter alone, so an Arabic word stays joined, and Entire Font lists the unencoded glyphs, #5514; Indian-language hyphenation review and license allowlist, #4947; Bulgarian among the languages, with its quote marks and the fonts' Bulgarian forms, #5945; previously minor: Show Snap to Glyph Options scrolls to the options, with a Snap to Glyph checkbox, #5273; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
|
||||
|
||||
Type is Illustrator's largest single area by use (weight 13 of 105 across "Type core" and "Type advanced" in
|
||||
[target-app-parity.md](target-app-parity.md)). This checklist lists the features one by one. Status is from the
|
||||
@@ -31,6 +31,7 @@ against Illustrator's public documentation; **estimated** unless noted.
|
||||
| Character size and horizontal scale after object/group scaling | done | #1034: fields and setters compensate the stored affine; point size follows the transformed em-height axis, not the glyph ink bounds. Range edits, keyboard increments, leading and baseline shift use document points; rotation, reflection and shear remain editable. |
|
||||
| Preserve font sizes while scaling a group | missing | Separate enhancement; scaling still scales text with the other artwork. |
|
||||
| OpenType panel, Glyphs panel, alternates | done | Highlight Alternate Glyphs preference (#394, off by default) paints pink behind OpenType substitutions on screen when on (required shaping such as Arabic joining forms and the lam-alef ligature, including a lam-alef older fonts file under `liga`, is not highlighted; an optional feature that changes the ligature is); stylistic sets ss01–ss20, stylistic and titling alternates, proportional and lining figures, superscript and subscript are character-style features (`text.setStyle {features}`, #1607); the OpenType panel's Position menu sets superscript, subscript, numerator or denominator glyphs (`sups`, `subs`, `numr`, `dnom`). The OpenType panel's Stylistic Sets menu lists the selected font's `ss01`–`ss20` features, using a font-supplied name where available and `Set N` otherwise; several sets can be active, and selecting an active one removes it. For a mixed-font selection it uses the first selected character's font, a VectorCraft design choice ([public help](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/add-stylistic-sets-to-selected-text.html), [OpenType feature specification](https://learn.microsoft.com/en-us/typography/opentype/spec/features_pt)). The Glyphs panel highlights the character selected with the Type tool (a range's first character, else the one before the caret) and scrolls it into view as the selection moves (#4908; `panels::glyphs` tests); its Show menu lists Unicode ranges and Alternates for Current Selection, the selected character's alternate glyphs from the font's `GSUB` table, one of which a double-click draws for that character (`text.setGlyphAlternate`); the glyph-cell pop-up of alternates is not there yet |
|
||||
| Glyphs panel: alternates as OpenType feature values, unencoded glyphs | done | #5514, as [Replace characters with alternate glyphs](https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/replace-characters-with-alternate-glyphs.html) describes (Show › Alternates For Current Selection; replace the selected character by double-clicking the glyph). A character-style feature takes a value (`"salt=2"`, the font's alternate number; `ss01`–`ss20`, `swsh`, `titl` and `aalt` too) in `features` and `featureChanges`, in SVG `font-feature-settings` (`"salt" 2`) and in native files as the plain string. Runs that differ only in their features shape as one piece of text, each run's features over its own characters, so a variant on one letter of an Arabic word keeps its neighbours' initial, medial and final forms and the letters still touch. The panel lists the alternates of the glyph the shaper makes for the selected character in its word (a medial letter shows medial variants), and a double-click applies the feature that draws the variant to that character alone, in one undo step (`text.setRangeStyle`); a variant no feature draws there is drawn as a replacement glyph (`text.setGlyphAlternate`), which its tooltip says may not join. Show › Entire Font also lists the glyphs no character maps, with their name or `gid N` and the feature that gives them. The text crate reads each face's `GSUB` once (alternate sets, single substitutions, the feature that reaches a glyph). Not done: alternates reached through contextual or ligature lookups, and features of the font that the style has no tag for (`cv01`–`cv99`, `hist`). Evidence: `tests::glyph_alternates` in the text crate (a fixture font with a medial teh at `salt=1` to `3`, the neighbours' forms, no gap; Kufi Murabba PIIIX when it is installed), `features::tests::feature_values_are_parsed_validated_and_shaped`, `tests::textedit::feature_values_are_set_replaced_and_saved`, the `panels::glyphs` tests. |
|
||||
| Font menu: samples, live preview, filters, favourites, recent families; font matching by any name; Find Font | done | #3515: recently applied families appear first, once each; missing families are omitted and the existing Number of Recent Fonts setting applies; #339; script filter: Japanese, Latin, Thai; the font scan on Linux also reads the folders fontconfig's configuration lists, such as TeX fonts under `/usr/share/texmf/fonts` (#1548, fixes #1529; not verified on Linux) Replace With Font lists family and style rows, one click setting both, with a search over them; its list scrolls on its own, apart from the document's font list (#4972). |
|
||||
| Missing glyphs set in an installed font made for their script (Thai, Lao, Khmer, Myanmar first; then any font that has them) | done | Thai: Leelawadee UI, Tahoma, Thonburi, Sukhumvit Set, Noto Sans Thai, TLWG |
|
||||
| Full font-name matching (OpenType name ID 4) | done | #1258: loaded/cataloged faces and Missing Fonts searches; localized names and variable default faces; Windows font-service QA pending |
|
||||
@@ -79,6 +80,7 @@ Character Styles menu New/Redefine and footer New capture the first selected cha
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-07 | minor | Glyphs panel (#5514): Alternates for Current Selection lists the alternates of the selected character's glyph in its word and a double-click applies the OpenType feature that draws one to that letter alone (`salt=2`; `features` and `featureChanges` take `tag=N`), so an Arabic word stays joined, and Entire Font lists the unencoded glyphs. Runs that differ only in their features shape as one piece of text. Scores and estimates unchanged. |
|
||||
| 2026-11-07 | minor | Indian-language hyphenation (#4947): eleven MIT-licensed pattern sets, with grapheme and shaping-cluster protection in both composers and existing paragraph limits. Assamese and Sanskrit are selectable; Sanskrit automatic patterns remain pending an allowlisted source. Scores and estimates unchanged. |
|
||||
| 2026-11-06 | minor | Alt + numeric-keypad codes (`Alt+0176` → °) type their character at the caret on Windows, and `type.insert` inserts a character by `code` or `unicode` (#5108); scores and estimates unchanged |
|
||||
| 2026-11-06 | minor | Snap to Glyph › Glyph Bounds: each glyph's box gives four corners a drawn point lands on, also on a curved side (`B`), and its box and edges turn with rotated type (#5112); scores and estimates unchanged |
|
||||
|
||||
Reference in New Issue
Block a user