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

Re: Problem find font



The best way to fix this is to ask upstream to use a system fonts
aware rendering library like QuesoGLC (OpenGL) or pango/SDL_Pango,
which will automatically select the right font for each character.
This also allows them to add i18n. Here is an example from Chromium
B.S.U which uses QuesoGLC:

http://sourceforge.net/p/chromium-bsu/code/ci/master/tree/src/TextGLC.cpp#l26

If they aren't willing to switch rendering systems then you can ask
them to use fontconfig to lookup the path to the font file. Here is an
example from Chromium B.S.U.:

http://sourceforge.net/p/chromium-bsu/code/ci/master/tree/src/TextFTGL.cpp#l91

If they aren't willing to do that then it sounds like you will need to
patch the code.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: