Commit graph

44 commits

Author SHA1 Message Date
Mirek Fidler
c1bdeb56c9 RichText: New 'no color emoji' flag M in QTF, Draw: fixed problems with NoColor fonts in X11/Gtk 2026-01-14 14:08:56 +01:00
Mirek Fidler
68139e3548 Draw: Workaround for backwards incompatibility of FT_Outline 2024-08-22 22:27:51 +02: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
d16b2ab18a Draw: Fixed Color Emoji with FreeType 2021-12-12 16:36:17 +01:00
Mirek Fidler
22cf499432 upp.src: Various CHARSET_UNICODE->CHARSET_UTF8 changes, FT_fontsys fix, SDL2GL fix 2021-12-05 20:01:27 +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
d6e017eaa9 Draw: Removed obsolete fontconfig function
git-svn-id: svn://ultimatepp.org/upp/trunk@15260 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-16 09:14:40 +00:00
cxl
4a7b4a646d .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@14908 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-27 11:02:26 +00:00
cxl
7bb38969c0 Draw: IsSerif support with fontconfig
git-svn-id: svn://ultimatepp.org/upp/trunk@12213 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-31 14:03: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
bbbe82c394 Draw: Win32 support for Font::IsScript, IsSerif
git-svn-id: svn://ultimatepp.org/upp/trunk@12208 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-31 12:06:42 +00:00
cxl
5a44eeb5a7 CtrlCore: Cocoa font features (RenderCharSys, GetData), Draw: Font caching optimized, Core: FoldHash function
git-svn-id: svn://ultimatepp.org/upp/trunk@12177 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-08-21 12:42:55 +00:00
cxl
fce079d34b CtrlCore: Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12100 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-25 13:22:27 +00:00
cxl
dc5b70a336 CtrlCore: Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12088 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-21 17:14:40 +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
908c6df2fa posix: Resolved issue with leaks in FontFc
git-svn-id: svn://ultimatepp.org/upp/trunk@8807 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-09 17:25:43 +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
c8f1a269ea Draw: Font::Render now able to synthetise oblique when needed #951
git-svn-id: svn://ultimatepp.org/upp/trunk@8069 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-19 22:39:33 +00:00
cxl
fb9e3f55b2 Draw: Freetype include path situation resolved #653
git-svn-id: svn://ultimatepp.org/upp/trunk@6817 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-01-27 09:17:34 +00:00
cxl
ff04f27147 issues with font metrics in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@6574 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-18 19:23:42 +00:00
unodgs
c21ddc2d5e CtrlCore, Draw: LinuxGl adjustments
git-svn-id: svn://ultimatepp.org/upp/trunk@6199 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-07-17 18:10:20 +00:00
cxl
225195c612 Core: HttpRequest multipart support
git-svn-id: svn://ultimatepp.org/upp/trunk@6158 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-06-29 18:52:38 +00:00
cxl
34effe3259 CtrlCore: Bold Font handling improved
git-svn-id: svn://ultimatepp.org/upp/trunk@6154 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-06-26 15:34:07 +00:00
cxl
adf06a4698 Draw: FontFc now does FT_Done_FreeType in EXITBLOCK
git-svn-id: svn://ultimatepp.org/upp/trunk@6102 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-26 15:15:38 +00:00
cxl
ba8eb81f07 Draw: Fixed issue with CJK characters metrics
git-svn-id: svn://ultimatepp.org/upp/trunk@5635 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-12-09 17:41:32 +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
03a012161c .Cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@5258 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-08-05 10:27:14 +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
9ca5b1f9ed Core, Draw: Applied changes for mac (thanks daveremba)
git-svn-id: svn://ultimatepp.org/upp/trunk@3688 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-21 18:11:08 +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
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
bb5c630b41 CtrlCore,Draw, POSIX: Fixed font metrics issue, fixed editfield frame issue, fixed PdfDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@1480 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-08 21:52:08 +00:00
cxl
c05a4c518f Attempt to fix linux/dpi issue
git-svn-id: svn://ultimatepp.org/upp/trunk@1470 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-03 13:05:09 +00:00
cxl
27c33c49ea CtrlCore: SetSurface X11
git-svn-id: svn://ultimatepp.org/upp/trunk@1466 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-02 12:31:27 +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
bacf2dc0ec Draw: fixed underline issue, Font documented
git-svn-id: svn://ultimatepp.org/upp/trunk@1385 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-08 17:46:19 +00:00
cxl
77fc5a22d8 NewDraw: minor fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1381 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-07 07:52:36 +00:00
cxl
6642d719a3 NewDraw fixed in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@1380 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-07 07:41:55 +00:00
cxl
57c85ce9f0 New draw fixed in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@1379 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-07 07:16:13 +00:00
cxl
f619ba907d Fixing new draw in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@1377 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 22:45:26 +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