Commit graph

96 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
d609960eb6 Draw: ChPaintImage -> Draw9Slice 2025-11-20 11:18:47 +01:00
Mirek Fidler
22f3d3507a Draw, CtrlLib: Font NoColor and RichTextView MonoGlyphs disables replacing glyphs with color variants 2025-08-09 08:01:08 +02:00
Mirek Fidler
e0fdb0cd05 Draw: Fast cached HasCodepoint for TTF (now used for character replacements), Diagram: Triangle, upptst 2025-07-22 09:27:44 +02:00
Mirek Fidler
9c2102cb8e ide, uppsrc: Main config flags 2025-04-07 10:21:39 +02:00
Mirek Fidler
1f675b5c32 CtrlLib, Draw: GetStdFontCyA returns height including bold/italic variants, ArrayCtrl/DropList are now using this to avoid DisplayPopup for AttrText().Bold() (on MacOS, Bold standard text has 1 more pixel than normal) 2025-02-18 02:00:35 +01:00
Mirek Fidler
ea5a7014d9 ide: Assist fix for -> 2022-12-12 21:53:38 +01:00
Mirek Fidler
0449296f07 gui_sizeof merged, double formatting precsion in JSON/XML reduced to 15 digits 2022-06-03 11:43:48 +02:00
Mirek Fidler
e9d00e6531 Ctrl packed attributes 2022-04-29 18:01:10 +02: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
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
95fb7897ec Draw, CtrlLib, ide: Fixed problem with GetAveWidth being unreliable
git-svn-id: svn://ultimatepp.org/upp/trunk@15842 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-13 08:24:08 +00:00
cxl
5da70205df RichText: JPG raw image data is now exported to PDF as JPEG
git-svn-id: svn://ultimatepp.org/upp/trunk@15834 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-03-11 11:42:56 +00:00
cxl
d2967e13f1 uppsrc: In preparation to move to 64 bit hash codes, hash code type is now hash_t (replaces unsigned, dword)
git-svn-id: svn://ultimatepp.org/upp/trunk@14521 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-31 16:13:28 +00:00
cxl
0e9328d1de CtrlCore: Refactoring RectTracker to avoid using ViewDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@14320 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-18 12:17:41 +00:00
cxl
576c6c21fd .docs
git-svn-id: svn://ultimatepp.org/upp/trunk@14190 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-27 10:56:00 +00:00
cxl
7dd1764ee7 Core, CtrlLib, Ide: Resolved issue with SColors in Layout widget properties
git-svn-id: svn://ultimatepp.org/upp/trunk@14002 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-13 14:38:43 +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
d60b651ff3 Draw: IsDarkTheme optimized, DefaultInk
git-svn-id: svn://ultimatepp.org/upp/trunk@12907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-27 10:59:10 +00:00
cxl
03c76bd836 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12897 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-25 13:49:18 +00:00
cxl
42f463ce0d Draw: DefaultInk removed
git-svn-id: svn://ultimatepp.org/upp/trunk@12895 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-25 12:36:00 +00:00
cxl
84a91967ac ide: Dark mode fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@12888 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-24 11:27:52 +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
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
e0b6fb4991 Draw: DrawProxy struct
git-svn-id: svn://ultimatepp.org/upp/trunk@11907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-04-23 14:36:58 +00:00
cxl
adcc2ee035 Draw, CtrlCore: Fixed issue with default font height
git-svn-id: svn://ultimatepp.org/upp/trunk@11723 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-01-23 13:07:15 +00:00
cxl
d48aca5316 uppsrc: Deprectated RichValue uses replaced by RichToValue
git-svn-id: svn://ultimatepp.org/upp/trunk@10913 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-07 10:59:07 +00:00
cxl
a77b6afaf0 PdfDraw, RichText: PDF signatures
git-svn-id: svn://ultimatepp.org/upp/trunk@10360 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-26 18:41:12 +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
bae8be24bc ide: Fixed issue with project templates #1337, #1321
git-svn-id: svn://ultimatepp.org/upp/trunk@9188 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-11-17 06:50:31 +00:00
cxl
a40c8594d2 PdfDraw, RichText: PdfDraw and RichText->PDF export now support urls #1183
git-svn-id: svn://ultimatepp.org/upp/trunk@8915 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-09-11 12:46:39 +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
a37f3e8209 Draw HDPIMultiply
git-svn-id: svn://ultimatepp.org/upp/trunk@8778 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-07-31 14:27:12 +00:00
cxl
8ea6f4ad68 Draw: Simplified variant of Font::SetFace
git-svn-id: svn://ultimatepp.org/upp/trunk@7267 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-17 06:47:58 +00:00
cxl
f611afa3c2 Fixing richtextzoom #598
git-svn-id: svn://ultimatepp.org/upp/trunk@6640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-04 12:26:14 +00:00
cxl
0597fd67f8 Draw: SetFace
git-svn-id: svn://ultimatepp.org/upp/trunk@6600 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-23 16:11:14 +00:00
cxl
bd660400cc Core: VoidColor, CtrlLib: VoidColor in ColorPusher, RichEdit: Support for Null color in cell background
git-svn-id: svn://ultimatepp.org/upp/trunk@6587 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-19 20:07:19 +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
f3675a58f9 .Draw: detects flagCFONTSYS
git-svn-id: svn://ultimatepp.org/upp/trunk@6256 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-08-25 08:06:04 +00:00
cxl
c36853e67b upp.src: Reverted some OpenGL related issues, Core: Fixed Stream::Pack
git-svn-id: svn://ultimatepp.org/upp/trunk@6207 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-07-22 20:16:16 +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
1c365ba63c Draw: DrawDrawing/DrawPainting with original size variant (thanks Sender Ghost)
git-svn-id: svn://ultimatepp.org/upp/trunk@6097 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-25 11:55:10 +00:00
cxl
8825606e35 Draw: SDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@6084 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-19 20:48:58 +00:00
cxl
5cd7ce611e Draw: DDARasterizer, IconDes: Now using DDARasterizer
git-svn-id: svn://ultimatepp.org/upp/trunk@6058 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-12 18:54:11 +00:00
cxl
f8434a4d3c Draw: GetInfo DRAWTEXTLINES option
git-svn-id: svn://ultimatepp.org/upp/trunk@5611 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-12-02 10:39:30 +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
b09b7d6cbe CtrlCore, Draw: MT refactored, fixed StdFont issue in Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@5559 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-18 23:45:03 +00:00