first@my:/tmp$ ./demo_memo
wlgui memo demo
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[font] sizeof(FT_FaceRec)=160 offset(glyph)=152 offset(units_per_EM)=136 offset(ascender)=138
[font] file=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf name=DejaVuSans height=20 valid=TRUE builtin=FALSE ascent=19 descent=5 units_per_EM=2048
An unhandled exception occurred at $0000557B54DEBC36:
EAccessViolation: Access violation
  $0000557B54DEBC36
  $0000557B54DECB1D
  $0000557B54D67BAC

[font] file=(builtin 8x16) name=NotoSansCJK-Regular height=14 valid=TRUE builtin=TRUE ascent=12 descent=4 units_per_EM=first@my:/tmp$ 





first@my:/tmp$ ./demo_memo
wlgui memo demo
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[font] sizeof(FT_FaceRec)=160 offset(glyph)=152 offset(units_per_EM)=136 offset(ascender)=138
[font] file=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf name=DejaVuSans height=20 valid=TRUE builtin=FALSE ascent=19 descent=5 units_per_EM=2048
An unhandled exception occurred at $0000557C2BB4CBA6:
EAccessViolation: Access violation
  $0000557C2BB4CBA6  CREATE,  line 508 of wlgui_font.pas
  $0000557C2BB4DA8D  LOAD,  line 776 of wlgui_font.pas
  $0000557C2BAC5BAC  main,  line 133 of demo_memo.pas

[font] file=(builtin 8x16) name=NotoSansCJK-Regular height=14 valid=TRUE builtin=TRUE ascent=12 descent=4 units_per_EM=first@my:/tmp$ 




Starting program: /tmp/demo_memo 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
wlgui memo demo
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[font] sizeof(FT_FaceRec)=160 offset(glyph)=152 offset(units_per_EM)=136 offset(ascender)=138
[font] file=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf name=DejaVuSans height=20 valid=TRUE builtin=FALSE ascent=19 descent=5 units_per_EM=2048

Program received signal SIGSEGV, Segmentation fault.
0x0000555555636ba6 in CREATE (this=0x7ffff7fac220, vmt=0x1, ANAME=0x55555565e150 'NotoSansCJK-Regular\000', AHEIGHT=14) at wlgui_font.pas:508
508             ' units_per_EM=', PFT_FaceRec(Face)^.units_per_EM);
(gdb) bt full
#0  0x0000555555636ba6 in CREATE (this=0x7ffff7fac220, vmt=0x1, ANAME=0x55555565e150 'NotoSansCJK-Regular\000', AHEIGHT=14) at wlgui_font.pas:508
        FACE = 0xf7fac1c0
        FACEREC = 0x7ffff7fac1c0
        vmt_afterconstruction_local = -1
#1  0x0000555555637a8d in LOAD (this=0x7ffff7f850e0, ANAME=0x55555565e150 'NotoSansCJK-Regular\000', AHEIGHT=14) at wlgui_font.pas:776
        result = 0x0
        LOAD = 0x0
        RESULT = 0x0
#2  0x00005555555afbac in main () at demo_memo.pas:133
No locals.




./demo_memo
wlgui memo demo
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[font] try: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
[font] found: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
[font] FT_New_Face("/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf") = 0 Face=94603941204720
[font] units_per_EM=2048 ascender=1901 descender=-483
[font] file=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf name=DejaVuSans height=20 valid=TRUE builtin=FALSE ascent=19 descent=5 units_per_EM=2048
[font] try: /usr/share/fonts/truetype/dejavu/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/truetype/dejavu/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/truetype/dejavu/NotoSansCJK-Regular.ttc
[font] try: /usr/share/fonts/truetype/liberation/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/truetype/liberation/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/truetype/liberation/NotoSansCJK-Regular.ttc
[font] try: /usr/share/fonts/truetype/freefont/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/truetype/freefont/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/truetype/freefont/NotoSansCJK-Regular.ttc
[font] try: /usr/share/fonts/truetype/ubuntu/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/truetype/ubuntu/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/truetype/ubuntu/NotoSansCJK-Regular.ttc
[font] try: /usr/share/fonts/TTF/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/TTF/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/TTF/NotoSansCJK-Regular.ttc
[font] try: /usr/share/fonts/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/NotoSansCJK-Regular.ttc
[font] try: /usr/local/share/fonts/NotoSansCJK-Regular.ttf
[font] try: /usr/local/share/fonts/NotoSansCJK-Regular.otf
[font] try: /usr/local/share/fonts/NotoSansCJK-Regular.ttc
[font] try: /home/first/.fonts/NotoSansCJK-Regular.ttf
[font] try: /home/first/.fonts/NotoSansCJK-Regular.otf
[font] try: /home/first/.fonts/NotoSansCJK-Regular.ttc
[font] try: /home/first/.local/share/fonts/NotoSansCJK-Regular.ttf
[font] try: /home/first/.local/share/fonts/NotoSansCJK-Regular.otf
[font] try: /home/first/.local/share/fonts/NotoSansCJK-Regular.ttc
[font] try: /usr/share/fonts/truetype/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/truetype/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/truetype/NotoSansCJK-Regular.ttc
[font] try: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttf
[font] try: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.otf
[font] try: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
[font] found: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
[font] FT_New_Face("/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc") = 0 Face=94603941213120
[font] units_per_EM=1000 ascender=1160 descender=-288
[font] file=/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc name=NotoSansCJK-Regular height=14 valid=TRUE builtin=FALSE ascent=16 descent=4 units_per_EM=1000
[wlgui] window created: "wlgui memo demo" 700x500
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 700x500 stride=2800
[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded




./demo_memo
wlgui memo demo
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[font] /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf units_per_EM=2048 ascent=19 descent=5
[font] fallback face: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
[font] /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc units_per_EM=1000 ascent=16 descent=4
[font] fallback face: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
[wlgui] window created: "wlgui memo demo" 700x500
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 700x500 stride=2800
[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded



./demo_memo
wlgui memo demo
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[font] /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf units_per_EM=2048 ascent=19 descent=5
[font] fallback face: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
[font] fallback face: /usr/share/fonts/opentype/unifont/unifont.otf
[font] /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc units_per_EM=1000 ascent=16 descent=4
[font] skip duplicate: /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
[font] fallback face: /usr/share/fonts/opentype/unifont/unifont.otf
[wlgui] window created: "wlgui memo demo" 700x500
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 700x500 stride=2800
[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
