You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use utf-8 font, and specify both "width" & "height" properties of a window, the font in that window will all be "question mark" just after dearpygui starts. In a short time, all fonts display normal.
To Reproduce
# Here's some code anyone can copy and paste to reproduce your issueimportdearpygui.dearpyguiasdpgwithdpg.font_registry( ) :
f="/tmp/SimSun.ttf"withdpg.font( file=f, size=16, default_font=True ):
dpg.add_font_range_hint(dpg.mvFontRangeHint_Chinese_Full)
withdpg.window( label="主窗口" ,height=900, width=300 ) asw_id:
...
dpg.start_dearpygui()
The font will be normal when I only specify one of "width" or "height".
# Here's some code anyone can copy and paste to reproduce your issueimportdearpygui.dearpyguiasdpgwithdpg.font_registry( ) :
f="/tmp/SimSun.ttf"withdpg.font( file=f, size=16, default_font=True ):
dpg.add_font_range_hint(dpg.mvFontRangeHint_Chinese_Full)
withdpg.window( label="主窗口" ,pos= [0,0], width=300 ) asw_id:
...
dpg.start_dearpygui()
Thanks!
The text was updated successfully, but these errors were encountered:
Version of Dear PyGui
Version: after 0.8.0
Operating System: MacOS
My Issue/Question
When I use utf-8 font, and specify both "width" & "height" properties of a window, the font in that window will all be "question mark" just after dearpygui starts. In a short time, all fonts display normal.
To Reproduce
The font will be normal when I only specify one of "width" or "height".
Thanks!
The text was updated successfully, but these errors were encountered: