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
| Code | Category | Example codepoints |
|---|---|---|
| 0 | Other | fallback or outside range |
| 1 | Consonant | Sinhala consonants |
| 2 | Independent vowel | Sinhala vowel letters |
| 3 | Matra | Sinhala dependent vowel signs |
| 4 | Virama | halant or virama |
| 5 | Nukta | nukta mark where the script uses one |
| 6 | Bindu | chandrabindu or anusvara |
| 7 | Visarga | visarga sign |
| 9 | Digit | Sinhala digits |
Notities
De categoriewaarden voeden dezelfde herschikkingspipeline als ApplySinhalaReorder en de volledige Indic-dispatcher
Zie ook
ApplySinhalaReorder- Sinhala reorder pre-passApplyIndicReorder- Indic Dekking
Versiegeschiedenis
- v2.119.77 - Toegevoegd als onderdeel van de HotPDF Indic-vormingsbatch