GNOME Bugzilla – Bug 327854
pango fc modules should be able to list themselves as needing fonts with certain capabilities
Last modified: 2009-01-06 11:46:02 UTC
Currently the arabic-fc module only handles Arabic fonts with OpenType Arabic features. Means, it doesn't do shaping-to-presentation-forms. For this to work, the font should have the "otlayout:arab" fontconfig capability. So, Pango fc modules should be able to set a requirement on the capabilities of the fonts they handle.
This bug is already showing when bitmap fonts are chosen for rendering Arabic, which well, doesn't quite work.
FreeType doesn't match FC_CAPABILITY, and unless we have good reason to request that, it's not going to change. The proper fix would be to shape to presentation forms instead, or just show broken rendering with broken fonts. Nothing wrong with that.