GetSinhalaCategory

Signatuur

function GetSinhalaCategory(CP: Cardinal): Integer;

Doel

Retourneert de HotPDF-lettergreepcategorie die door de Sinhala-herschikking wordt gebruikt. De functie is een codepoint-lookup zonder fontstatus en retourneert categorie 0 buiten het Sinhala-bereik

Retourwaarden

CodeCategoryExample codepoints
0Otherfallback or outside range
1ConsonantSinhala consonants
2Independent vowelSinhala vowel letters
3MatraSinhala dependent vowel signs
4Viramahalant or virama
5Nuktanukta mark where the script uses one
6Binduchandrabindu or anusvara
7Visargavisarga sign
9DigitSinhala digits

Notities

De categoriewaarden voeden dezelfde herschikkingspipeline als ApplySinhalaReorder en de volledige Indic-dispatcher

Zie ook

Versiegeschiedenis

  • v2.119.77 - Toegevoegd als onderdeel van de HotPDF Indic-vormingsbatch