Commit graph

11 commits

Author SHA1 Message Date
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
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
277bd68665 CtrlCore: Win32 DrawTextOp MT fix
git-svn-id: svn://ultimatepp.org/upp/trunk@12672 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-16 10:58:37 +00:00
cxl
cd87ad9d52 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@11127 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-05-31 20:48:37 +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
f0e1f55ee4 Draw: Fixed issue with very long texts in DrawText #572
git-svn-id: svn://ultimatepp.org/upp/trunk@6562 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-16 11:36:09 +00:00
cxl
6e0acbc3ee .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3509 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-10 11:28:56 +00:00
cxl
b1a683fbb2 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3501 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-09 19:02:49 +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
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
a438f12393 Merging newdraw..
git-svn-id: svn://ultimatepp.org/upp/trunk@1370 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 19:35:02 +00:00
Renamed from uppsrc/Draw/DrawTextWin32.cpp (Browse further)