Changes between Initial Version and Version 1 of Ticket #36, comment 3
- Timestamp:
- Sep 29, 2017, 6:21:54 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36, comment 3
initial v1 1 1 NOTE: on X fonts and 'fontconfig' 2 2 3 some time ago the internals where renamed, so there is a ' default' used internally in fontconfig, which it maps to what ever path is default for the OS (Debian/Raspbian its /usr/share/fonts). But there is no way to query what that is. I also believe some font type that SDL_TTF can read which are no longer supported by X Font system. ATM the code scraps the folders for known font formats, but there is no way to scrap 'defaults', and unlike SDL2, SDL 1.2 handles a lot of older screen based fonts..3 some time ago the internals where renamed, so there is a 'built-ins' used internally in fontconfig, which it maps to what ever path is default for the OS (Debian/Raspbian its /usr/share/fonts). But there is no way to query what that is. I also believe some font type that SDL_TTF can read which are no longer supported by X Font system. ATM the code scraps the folders for known font formats, but there is no way to scrap 'built-ins', and unlike SDL2, SDL 1.2 handles a lot of older screen based fonts.. 4 4 5 5 Also, as far as I know, fontconfig is bound to X. That is to say, if you install 'fontconfig' it will install X. My fix, although not pretty does unbind Grafx2 from X. There is notes about 'default' font paths in the attached files. 6 6 7 The lack of fontconfig support does not stop any fonts from being used on X, as ' default' is different on may (not all) systems, and some builds (Atari ST) already don't use it.7 The lack of fontconfig support does not stop any fonts from being used on X, as 'built-ins' is different on may (not all) systems, and some builds (Atari ST) already don't use it. 8 8 9 You really need to add either a global variable check or a command line option (or both) that Grafix2then add that path to the font directory list9 You really need to add either a global variable check or a command line option (or both) so that Grafix2 can then add that path to the font directory list 10 10 11 Currently for an Atari ST build the path is hard coded, and that path is also not a common one. Especially on an Atari ST, the default fontpath can be (literally) anywhere, even if you are lucky enough tto have a working X Windows setup (and hence fontconfig).11 Currently for an Atari ST build the path is hard coded, and that path is also not a common one. Especially on an Atari ST, the default fontpath can be (literally) anywhere, even if you are lucky enough to have a working X Windows setup (and hence fontconfig). 12 12 13 13