[Fontconfig] WIN32 questions
arif at research.att.com
Thu Jan 21 07:19:34 PST 2010
I am a Graphviz developer who is particularly in charge of WIN32 port of it.
Because of the application directory structure differences between *nix
systems and WIN32 , I have had hard time to figure out few things about
Here are my questions
1) Is there a way to specify the location of fonts.conf file.It seems
fontconfig looks for ../etc/fonts/fonts.conf and I like to move it somewhere
in windows users application data directory.
2) Does fontconfig have a function that creates the config files
automatically and sets the appropriate windows font directory value. Right
now It has to be done during installation of our application and that causes
problems on some win32 boxes with tight security policies.
3) We use pangocairo as font renderer for Graphviz. Pangocairo has its own
way of handling fontconfig calls.It is a black box for us.We feed pangocairo
with a font description and hope that it finds the right font.
There are times that user knows everything about a font (name of the file
,location of the file) but we still have to go through to whole font
matching process to force fontconfig to locate the font file that we already
know. Is there a way to tell fontconfig "hey this is the font file , just
give it back to me (in our case give it back to pangocairo) as a return
value". Do we need to maintain a font name-font file map and use it to
Thanks a lot.
More information about the Fontconfig