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
Is your feature request related to a problem? Please describe.
importdearpygui.dearpyguiasdpgdpg.create_context()
dpg.create_viewport(title='我是中文', width=600, height=200)
dpg.setup_dearpygui()
withdpg.font_registry():
withdpg.font(r"C:\Windows\Fonts\msyh.ttc", 20) asdefault_font:
dpg.add_font_range_hint(dpg.mvFontRangeHint_Chinese_Full)
dpg.bind_font(default_font) # Binds the font globallywithdpg.window(label="我是中国文字"):
dpg.add_text("你好, 世界")
dpg.show_viewport()
# below replaces, start_dearpygui()whiledpg.is_dearpygui_running():
# insert here any code you would like to run in the render loop# you can manually stop by using stop_dearpygui()print("this will run every frame")
dpg.render_dearpygui_frame()
dpg.destroy_context()
Is your feature request related to a problem? Please describe.
#1760
#1667
#2237
#2073
Unfortunately, the new version has not fixed this issue all along
The text was updated successfully, but these errors were encountered: