FLTK logo

[fltk/fltk] Windows platform fails to draw correctly many Unicode characters (Issue #478)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[fltk/fltk] Windows platform fails to draw correctly many Unicode characters (Issue #478) ManoloFLTK Aug 10, 2022  
 

Program test/utf8 shows that several Unicode characters are not correctly drawn under the Windows platform. See for example the section U+2230 - U+23FF :

default

I find that changing the character set argument of the CreateFont() call in file
src/drivers/GDI/Fl_GDI_GraphicsDriver.cxx from DEFAULT_CHARSET to GB2312_CHARSET produces a much wider Unicode support :

GB2312

Any comment about whether this change is adequate or suggestion for a better code change ?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/478@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.