lc-soft/LCUI





The issue has been solved
Fontconfig_GetPath() did not get the font file path #181
lc-soft posted onGitHub
Describe the bug
On the Ubuntu system, Fontconfig_GetPath()
does not correctly get the file location of the default font, the default font actually used is in-core.inconsolata
Console output:
...
[font] current font engine is: FreeType
[font] fontconfig enabled
[font] load file: (null)
[font] failed to load file: (null)
[font] load file: (null)
[font] failed to load file: (null)
[font] load file: (null)
[font] failed to load file: (null)
...
To Reproduce Run cammnd:
make
cd test
./helloworld
Check console output.
Expected behavior Font file should load correctly.
Environment (please complete the following information):
- LCUI version: develop branch
- Build tools: gcc
- OS and version: Ubuntu
Additional context
Related code: