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
Mirek Fidler
88d871be71
Draw, CtrlLib: Win32 Font enumeration changes to W variant
2021-09-16 10:06:50 +02:00
cxl
2352d9b58c
Core: Mem.h improvements
...
git-svn-id: svn://ultimatepp.org/upp/trunk@14505 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-27 16:39:08 +00:00
cxl
36fadbf7bf
uppsrc: Many memcpy, memset converted to new memory functions
...
git-svn-id: svn://ultimatepp.org/upp/trunk@14493 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 15:14:16 +00:00
cxl
8d058b26b0
CtrlLib: Chameleon now can draw ink masks, EditField look improved
...
git-svn-id: svn://ultimatepp.org/upp/trunk@13899 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-01-16 12:18:50 +00:00
cxl
b47bfa76ca
Draw: Win32: Removed global IC HDC as it seems incompatible with MT
...
git-svn-id: svn://ultimatepp.org/upp/trunk@12676 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-17 13:24:35 +00:00
cxl
c318160f84
.cosmetics
...
git-svn-id: svn://ultimatepp.org/upp/trunk@12674 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-17 10:47:42 +00:00
cxl
607d7d6e97
Draw: RenderCharSys in Win32 now returns unhinted fonts
...
git-svn-id: svn://ultimatepp.org/upp/trunk@12670 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-15 15:24:16 +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
9d2e3258a6
Draw: GetTextSize sanitized for <32 characters
...
git-svn-id: svn://ultimatepp.org/upp/trunk@11765 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-02-06 10:50:38 +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
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
c27a5d250b
.Win32 SDK fix
...
git-svn-id: svn://ultimatepp.org/upp/trunk@8477 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-05-27 12:36:44 +00:00
cxl
ca7e60660f
Draw: support for LinuxGL, Sql: operator*=(VectorMap, SqlSelect)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@6283 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-28 11:43:07 +00:00
cxl
837a01cf02
Fixed hidpi issues in Win32
...
git-svn-id: svn://ultimatepp.org/upp/trunk@6086 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-21 13:49:06 +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
unodgs
073843d1c0
WinGL: Added automatic atlas textures, fixed some bugs
...
git-svn-id: svn://ultimatepp.org/upp/trunk@4188 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-22 20:33:47 +00:00
unodgs
0f8cffbb8c
Rainbow: WinGL..
...
git-svn-id: svn://ultimatepp.org/upp/trunk@3924 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-09-28 15:47:27 +00:00
unodgs
a85f5d4cb6
Rainbow: WinGL..
...
git-svn-id: svn://ultimatepp.org/upp/trunk@3765 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-08-15 19:51:29 +00:00
unodgs
e7dd273a5b
Rainbow: WinGL..
...
git-svn-id: svn://ultimatepp.org/upp/trunk@3711 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-24 22:36:01 +00:00
unodgs
582e355a41
CtrlCore, Draw: Some WinGL adjustments
...
git-svn-id: svn://ultimatepp.org/upp/trunk@3659 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-07-14 10:30:35 +00:00
cxl
d9033c4a2b
.Draw, PdfDraw: fixed issue with SelectObject
...
git-svn-id: svn://ultimatepp.org/upp/trunk@2971 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-08 10:31:13 +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
b714cee659
*Draw: Fixed metrics issue for certain characters
...
git-svn-id: svn://ultimatepp.org/upp/trunk@2353 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-05-03 08:48:06 +00:00
cxl
92dd52111b
Draw: Chinesse XP default font issue fixed (thanks kasome)
...
git-svn-id: svn://ultimatepp.org/upp/trunk@1478 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-08 13:25:03 +00:00
cxl
eb6013e5be
Draw: Fixed Win32 font issues
...
git-svn-id: svn://ultimatepp.org/upp/trunk@1426 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-17 12:09:08 +00:00
cxl
8811cae7b3
Draw Win32: Minor font fixes
...
git-svn-id: svn://ultimatepp.org/upp/trunk@1396 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-14 16:06:58 +00:00
cxl
8021c04db8
Draw: Fixed problem with rotated texts
...
git-svn-id: svn://ultimatepp.org/upp/trunk@1390 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-09 13:21:46 +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
6df29eb3bd
CtrlCore, Draw: New headless draw
...
git-svn-id: svn://ultimatepp.org/upp/trunk@1374 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 22:01:01 +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