Quote:
Originally Posted by cfillion
https://gist.github.com/cfillion/1a3...365f14958157fb
Code:
./a.out sans-serif serif monospace 'DejaVu Sans Mono' 'Andale Mono' 'Ubuntu Mono' UbuntuMono Lato
found font matching 'sans-serif': 'DejaVu Sans' in '/usr/share/fonts/TTF/DejaVuSans.ttf'
found font matching 'serif': 'DejaVu Serif' in '/usr/share/fonts/TTF/DejaVuSerif.ttf'
found font matching 'monospace': 'DejaVu Sans Mono' in '/usr/share/fonts/TTF/DejaVuSansMono.ttf'
found font matching 'DejaVu Sans Mono': 'DejaVu Sans Mono' in '/usr/share/fonts/TTF/DejaVuSansMono.ttf'
found font matching 'Andale Mono': 'DejaVu Sans Mono' in '/usr/share/fonts/TTF/DejaVuSansMono.ttf'
found font matching 'Ubuntu Mono': 'Ubuntu Mono' in '/usr/share/fonts/TTF/UbuntuMono-R.ttf'
found font matching 'UbuntuMono': 'Ubuntu Mono' in '/usr/share/fonts/TTF/UbuntuMono-R.ttf'
found font matching 'Lato': 'Lato' in '/home/cfillion/.fonts/Lato-Regular.ttf'
(bold/italic matching is commented out)
|
awesome, thanks!
Edit: while I have you, have some code to enumerate the available font faces installed on the system (for the font browser)?
Edit again:
I've started on the intergration,
http://1014.org/shiz/shup/fontconfig.patch
Things to address:
1) The fonts in REAPER and libSwell.colortheme etc being mapped differently (can we set preferred fallback fonts?)
2) App-local fonts (we include liberation sans and a modified version of Bravura) -- can we shove these into our instance of fontconfig?
Sorry for asking you here -- if there's a programmers guide somewhere for fontconfig I'm happy to look at it, the documentation I could find was never a "how to use this", just a reference of each function...