Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_string_render - load font file error #169

Closed
muzea opened this issue Mar 12, 2019 · 3 comments
Closed

test_string_render - load font file error #169

muzea opened this issue Mar 12, 2019 · 3 comments
Assignees
Labels

Comments

@muzea
Copy link

muzea commented Mar 12, 2019

Describe the bug
This error occurs when running test_string_render, test_scrollbar and helloworld are ok, no error.

Expected behavior
Run test_string_render without error.

error message

./test_string_render
[font] load file: in-core.inconsolata
[font] add family: inconsolata, style name: Regular, id: 1
[font] current font engine is: FreeType
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-RI.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-RI.ttf
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-MI.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-MI.ttf
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf
[font] load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-LI.ttf
[font] failed to load file: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-LI.ttf
[font] load file: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
[font] add family: Noto Sans CJK JP, style name: Regular, id: 2
[font] add family: Noto Sans CJK KR, style name: Regular, id: 3
[font] add family: Noto Sans CJK SC, style name: Regular, id: 4
[font] add family: Noto Sans CJK TC, style name: Regular, id: 5
[font] add family: Noto Sans Mono CJK JP, style name: Regular, id: 6
[font] add family: Noto Sans Mono CJK KR, style name: Regular, id: 7
[font] add family: Noto Sans Mono CJK SC, style name: Regular, id: 8
[font] add family: Noto Sans Mono CJK TC, style name: Regular, id: 9
[font] load file: /usr/share/fonts/opentype/noto/NotoSansCJK.ttc
[font] failed to load file: /usr/share/fonts/opentype/noto/NotoSansCJK.ttc
[font] load file: /usr/share/fonts/truetype/wqy/wqy-microhei.ttc
[font] add family: WenQuanYi Micro Hei, style name: Regular, id: 10
[font] add family: WenQuanYi Micro Hei Mono, style name: Regular, id: 11
[font] select: WenQuanYi Micro Hei

Environment:

  • LCUI version: [1.1.0-beta] e53b42c
  • Build tools: [gcc (Debian 7.3.0-19) 7.3.0]
  • OS and version: [deepin 15.9.2]

Additional context
I installed inkscape, Ubuntu-LI.ttf appears in the /snap/inkscape/4019/usr/share/fonts/truetype/ubuntu-font-family directory.

@lc-soft lc-soft self-assigned this Mar 12, 2019
@lc-soft
Copy link
Owner

lc-soft commented Mar 12, 2019

This is not a problem, even if the candidate font file fails to load there are still built-in font available, the application will not crash because of this situation.

@lc-soft lc-soft closed this as completed Mar 12, 2019
@muzea
Copy link
Author

muzea commented Mar 12, 2019

but the output image is empty :(

@lc-soft lc-soft reopened this Mar 12, 2019
@lc-soft
Copy link
Owner

lc-soft commented Mar 12, 2019

Ok, I will reproduce this problem when I have time.

@lc-soft lc-soft added the bug label Mar 12, 2019
@lc-soft lc-soft pinned this issue Mar 12, 2019
@lc-soft lc-soft unpinned this issue Mar 12, 2019
@lc-soft lc-soft closed this as completed Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants