Font selection algorithm?



Hello everyone,

I assume that most Pango-using apps let Pango choose how to layout text, especially which _mix_ of fonts to use.

To debug font-mix selection in multi-script texts I want to know the algorithm used by Pango to pick the secondary fonts (for chars not covered by the current font).

Can someone point me to the documentation or code where this is done?


It is really hard to improve the configuration (through fontconfig), without knowing which font request pattern to intercept. -- Even in a specific app with FC_DEBUG set it is hard fish the right request chain. Does Pango cache fontconfig responses?



Thanks,
Robert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]