My main goal is described here.
How can Microsoft Word or Wordpad or other word editing software render fonts when these fonts seems to not follow the same rules?
How do they render characters glyph based on adjacent(or sometimes even further neighboring) characters?
For example look at this font(it is free). opening it using font forge i learned that code-points from U+FE00 to U+FE87 are assigned to glyphs that do not represent those code points characters. still when you type in Word using that font and entering the keystrokes for those glyphs, the glyphs are rendered correctly.
Note: These glyph represent characters that do not have specific keys on keyboard, but are different forms of other characters. for example "ﻟ" is initial form of "ل" so Word must have some instruction(built-in instructions or instructions stored in font file) to render the desired form instead of isolated form.
Another example is the font IranNastaliq(also free) which is a very popular font in farsi and it's output is like calligraphy done in farsi. so it has lots of glyphs for combination of characters, etc.
- How does Word render these?
- How can I mimic it?
- How can I read the instructions(if there is any) inside of the font file?
font-feature-settings
property.