Skip to content

test_string_render - load font file error #169

@muzea

Description

@muzea

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions