diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-13 21:07:12 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-13 21:07:12 +0200 |
commit | 3752d8308011eafe58e5534443d50a50f817f462 (patch) | |
tree | 662b3ba02752d65c1e0456c561659da62c6f1f14 /m4 | |
parent | 54008077bfd9040f498d7fc7eec0bb0e4fa11853 (diff) | |
download | xine-lib-3752d8308011eafe58e5534443d50a50f817f462.tar.gz xine-lib-3752d8308011eafe58e5534443d50a50f817f462.tar.bz2 |
Search for fonts to render with FreeType2 on XDG Data directories.
With this change, when rendering a font through FreeType2 (and not using
FontConfig) the directories looked up are the ones defined in XDG_DATA_DIRS,
right after XDG_DATA_HOME; this way the user can decide to have fonts data
in a different place than its home directory.
This also splits up the lookup for fontconfig and non-fontconfig cases in
two different functions, to avoid gotos and labels.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions