Commit graph

12 commits

Author SHA1 Message Date
Mirek Fidler
d16b2ab18a Draw: Fixed Color Emoji with FreeType 2021-12-12 16:36:17 +01:00
Mirek Fidler
34ff691308 sizeof(wchar) is changed to 4 (32 bits) to support non BMP unicode characters
This might bring some incompatibilities in the code that expects wchar to be 16 bit, which
  escpecially involves dealing with Win32 (and to lesser extend MacOS) APIs, so if your application
  is doing that, please check all instances of WCHAR (UniChar on MacOS) or even wchar
  especially type casts.

  To support host APIs, char16 is introduced (but there is no 16-bit String varian).

  Use ToSystemCharsetW, FromSystemCharsetW to convert texts to Win32 API.

- Support of drawing non-BMP characters in GUI
- Vastly improved character font replacement code (when drawing characters missing with requested font, replacement font is used)
- Last instances of Win32 ANSI calls (those ending with A) are removed
- UTF handling routines are refactored and their's naming is unified
- RTF is now being able to handle non-BMP characters (RTF is used as clipboard format for RichText)

Other minor changes:

- fixed TryRealloc issue
- improved MemoryCheck
- Removed MemoryAlloc48/MemoryFree48
- In theide Background parsing should less often cause delays in the main thread
2021-12-02 12:03:19 +01:00
cxl
85ef74e429 CtrlLib: Coco MultiButton
git-svn-id: svn://ultimatepp.org/upp/trunk@12281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-17 10:01:04 +00:00
cxl
3c4b2d2a9a Draw: Font metrics simplified
git-svn-id: svn://ultimatepp.org/upp/trunk@12211 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-31 13:46:47 +00:00
cxl
06f30bcaf3 upp.src: HiDPI fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@8790 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-05 14:00:46 +00:00
cxl
1a2ddecd46 Draw: InvalidateFontList
git-svn-id: svn://ultimatepp.org/upp/trunk@6271 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-25 17:03:57 +00:00
cxl
0bd4425fcd Draw: optional glyph index in GlyphInfo
git-svn-id: svn://ultimatepp.org/upp/trunk@5619 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-12-02 19:16:59 +00:00
cxl
c50723b23b Draw, PdfDraw, Painter: Improved support for non-truetype fonts in PDF
git-svn-id: svn://ultimatepp.org/upp/trunk@5607 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-12-01 10:24:54 +00:00
cxl
bd87a04fda Draw, CtrlCore: Major refactor of Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@5545 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-11 12:33:47 +00:00
cxl
44bb902256 Fixed new Font to work in MT in POSIX
git-svn-id: svn://ultimatepp.org/upp/trunk@1392 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-09 19:40:39 +00:00
cxl
04a06f8ce7 developing new draw
git-svn-id: svn://ultimatepp.org/upp/trunk@1372 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 20:31:00 +00:00
cxl
342011f75f NewDraw 'merge'
git-svn-id: svn://ultimatepp.org/upp/trunk@1369 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 19:23:29 +00:00