juha
5b5ad75799
LazUtils: Add OnCompare func for TFreeTypeFont's AVLTree. Prevents adding glyphs many times. Issue #35627 .
...
git-svn-id: trunk@61291 -
2019-05-25 09:36:51 +00:00
wp
31de6345cf
LazUtils: Use exception class EFreeType instead of general Exception in EasyLazFreeType.
...
git-svn-id: trunk@61244 -
2019-05-18 23:23:11 +00:00
juha
d9ac09795b
Respect compiler OPT='-v0' by using {$push} and {$pop} in code. Issue #34955 .
...
git-svn-id: trunk@60706 -
2019-03-16 21:17:58 +00:00
juha
6810c626df
LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
...
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
juha
f331aaa8a1
EasyLazFreeType: Allow freeing TFreeTypeFont after EasyLazFreeType finalization. Issue #32371 , patch from Andrey Zubarev.
...
git-svn-id: trunk@55788 -
2017-09-05 10:06:50 +00:00
juha
e27232d4cc
Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
...
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
juha
e800a738ad
Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
...
The unit in FPC packages will be used directly later.
git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
juha
920c072f0e
LazUtils: Add, fix and unify header comments of many units.
...
git-svn-id: trunk@52518 -
2016-06-18 16:40:04 +00:00
wp
9077d7ba0e
LazFreeType: FontCollection can add folders recursively now.
...
git-svn-id: trunk@52430 -
2016-06-03 16:23:05 +00:00
ondrej
b7d9f09d50
lazfreetype: fix TFreeTypeFont.CharsPosition for unicode text
...
git-svn-id: trunk@52283 -
2016-05-05 11:05:49 +00:00
ondrej
b58038b72c
lazutils: easylazfreetype: return the actual item in TFreeTypeFontCollection.AddFile and not just boolean.
...
git-svn-id: trunk@52153 -
2016-04-09 18:41:59 +00:00
juha
67bbb06ba6
LazUtils: Finalize FreeTypeFont instance only when needed. Issue #29151 , patch from Andrey Zubarev.
...
git-svn-id: trunk@50712 -
2015-12-08 19:56:21 +00:00
juha
824f9ac5d9
LazUtils: Call LazFreeType.CheckInstance in GetCharIndex and make it public. Issue #28163 , patch from Johann.
...
git-svn-id: trunk@49146 -
2015-05-23 12:44:54 +00:00
juha
0fe92eae95
LazUtils: Remove ambiguity from font item listeners. Issue #28137 , patch from Johann.
...
git-svn-id: trunk@49136 -
2015-05-22 20:20:39 +00:00
mattias
48512f8dc4
lazutils: less notes
...
git-svn-id: trunk@49111 -
2015-05-19 21:04:15 +00:00
juha
09eff40893
LazUtils, EasyLazFreetype: Drawing symbol fonts and individual glyphs with their index. Issue #28078 , patch from Johann.
...
git-svn-id: trunk@49105 -
2015-05-19 16:13:36 +00:00
juha
bdc0dc8fbb
LazUtils: Recognise symbol font better. Issue #28020 . Patch from Johann.
...
git-svn-id: trunk@49067 -
2015-05-17 11:41:46 +00:00
juha
ccbbb894f3
LazUtils: FreeType fixes and new features. Issue #28073 , patch from Johann.
...
git-svn-id: trunk@49047 -
2015-05-16 11:09:18 +00:00
juha
62668a0d48
LazUtils: Add support for the CapHeight to LazFreeType. Issue #23968 , patch from Andrey Zubarev
...
git-svn-id: trunk@41043 -
2013-05-05 17:56:23 +00:00
juha
faea508795
LazUtils: fix for TFreeTypeFont.SetPointSize. Patch from circular
...
git-svn-id: trunk@40427 -
2013-02-27 10:51:20 +00:00
ask
f088d7b509
LazFreeType: Support font loading from a stream. Patch by "circular".
...
git-svn-id: trunk@40260 -
2013-02-11 07:09:52 +00:00
ask
7aff56c144
LazFreeType: Add TFreeTypeStream class, allow fonts to be loaded from streams. Patch by "circular"
...
git-svn-id: trunk@40207 -
2013-02-08 12:35:14 +00:00
ask
7745a4f174
LazFreeType: Move strike-out and underline decoration to TFreeTypeRenderableFont. Based on patch by "circular"
...
git-svn-id: trunk@40147 -
2013-02-03 10:43:22 +00:00
ask
4694ce68f5
LazFreeType: Move OnRenderText event to TFreeTypeRenderableFont. Patch by "circular".
...
git-svn-id: trunk@40134 -
2013-02-03 00:09:36 +00:00
ask
f62e7a3b8d
LazFreeType: Call WordBreakHandler only when splitting lines on maximum width
...
git-svn-id: trunk@40133 -
2013-02-03 00:05:35 +00:00
ask
d863aa74b1
LazFreeType: Split text on a new line before reaching maximum width
...
git-svn-id: trunk@40131 -
2013-02-02 23:51:31 +00:00
ask
3c8243bd4c
LazFreeType: Move Hinted property to the TFreeTypeRenderableFont. Implement hinting for centered text.
...
Based on patch by "circular".
git-svn-id: trunk@40130 -
2013-02-02 23:14:39 +00:00
ask
632d1dc771
LazFreeType: Add TFreeTypeFont.OnRenderText event. Based on patch by "circular".
...
git-svn-id: trunk@40120 -
2013-02-02 12:39:39 +00:00
ask
80f6addec6
LazFreeType: Patch by "circular":
...
- extended characters handled correctly
- bug fix in case freetype font collection is freed before the drawer (added listeners when font collection item is destroyed)
- SetDefaultFreeTypeFontCollection in LazFreeTypeFontCollection unit, so it is not necessary to mention EasyLazFreeType in uses clause if font collection is used
- textrect and wordwrap for freetype
git-svn-id: trunk@40104 -
2013-01-31 22:33:25 +00:00
mattias
36feb4ee3e
lazfreetype: fixed range check error, improved error message
...
git-svn-id: trunk@38141 -
2012-08-04 10:11:16 +00:00
sekelsenmat
85011c746f
Patch with font collection support from Circular
...
git-svn-id: trunk@36741 -
2012-04-13 07:01:31 +00:00
sekelsenmat
3fe5879ba3
Patch from circular: Advances the LazFreeType support for font information
...
git-svn-id: trunk@36345 -
2012-03-26 12:20:15 +00:00
sekelsenmat
5d9dce28f6
Patch from circular to improve LazFreeType
...
git-svn-id: trunk@36242 -
2012-03-23 06:41:02 +00:00
sekelsenmat
39a6ca54b1
Adds the core part of LazFreeType into LazUtils. A 100% Pascal text rendering library based in the original Pascal FreeType
...
git-svn-id: trunk@35666 -
2012-03-03 14:29:18 +00:00