Commit graph

22 commits

Author SHA1 Message Date
Mirek Fidler
fbee663568 Draw: Fixed MSVC warning in FontCR.cpp 2022-03-17 13:23:32 +01:00
Mirek Fidler
8826daf070 FT_fontsys: Add missing GetFontDataSys implementation 2022-01-15 14:42:23 +01:00
Mirek Fidler
f084e9a612 PdfDraw now supports color emoji, Fix in Gtk DrawText, refactored font height adjustment in replacement fonts 2022-01-12 23:33:37 +01:00
Mirek Fidler
f2ce3bfc75 PdfDraw: Improvements 2022-01-05 08:45:00 +01:00
Mirek Fidler
405c6ff0da PdfDraw: Fixed nonBMP glyphs export 2022-01-02 23:14:17 +01:00
Mirek Fidler
ee220a64aa Draw: Color Emoji now prefered as replacement 2021-12-28 10:14:11 +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
3f3354cef5 CppBase: Fixed issue in GatherSources
git-svn-id: svn://ultimatepp.org/upp/trunk@14659 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-05 09:07:57 +00:00
cxl
b7d3e46116 Draw: FontCR added FreeMono
git-svn-id: svn://ultimatepp.org/upp/trunk@14654 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-07-03 11:53:48 +00:00
cxl
609439bf53 CtrlLib: Cocoa Chameleon
git-svn-id: svn://ultimatepp.org/upp/trunk@12278 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-14 16:07:15 +00:00
cxl
d7423f981e Draw: Font::IsSerif, IsScript
git-svn-id: svn://ultimatepp.org/upp/trunk@12206 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-31 05:52:29 +00:00
cxl
8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00
cxl
d6372fcf8a Draw: Support for linux korean fonts
git-svn-id: svn://ultimatepp.org/upp/trunk@9160 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-11-07 09:01:53 +00:00
cxl
d5291b7d48 *uppsrc: Fixed many GCC warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@4457 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-21 14:24:31 +00:00
cxl
e092b4c2fe *Draw: fixed CJK glyph issues
git-svn-id: svn://ultimatepp.org/upp/trunk@3417 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-05-13 10:21:59 +00:00
cxl
dad392def7 .Various minor changes
git-svn-id: svn://ultimatepp.org/upp/trunk@3334 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-11 11:37:41 +00:00
cxl
a44ab2417a *uppsrc: mr_ped's GCC warnings fix, Core: now methods in Thread based on tojocky's ideas
git-svn-id: svn://ultimatepp.org/upp/trunk@2972 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-08 12:36:46 +00:00
cxl
fbd70f9527 *Draw: Font replacements fixed for X11
git-svn-id: svn://ultimatepp.org/upp/trunk@2356 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-05-03 17:24:57 +00:00
cxl
270e35d351 *Draw: Fixed issues with character replacement (some CJK characters missing due to bad font coverage)
git-svn-id: svn://ultimatepp.org/upp/trunk@2354 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-05-03 10:30:46 +00:00
cxl
5d9b35c480 *uppsrc: fixed various i18n, font, RichText issues in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@2258 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-23 19:17:45 +00:00
cxl
73f60a1864 Draw: Optimized search for missing glyphs in another fonts (with precreated bitmaps of font coverage)
git-svn-id: svn://ultimatepp.org/upp/trunk@1981 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-29 17:31:27 +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