Commit Graph

78 Commits

Author SHA1 Message Date
paul
11cfc83de8 lcl: initialize TFont.Height with DefFontData.Height in constructor (issue #0021729)
git-svn-id: trunk@36825 -
2012-04-17 00:49:05 +00:00
mattias
8d89a03bd1 LCL: less warnings
git-svn-id: trunk@34293 -
2011-12-19 20:37:58 +00:00
mattias
78e66fbc68 LCL: TIdentToInt: var to out
git-svn-id: trunk@33420 -
2011-11-08 17:08:10 +00:00
paul
6380ade6ac lcl, win32: handle clDefault font color in controls
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +00:00
paul
8890b2e2a1 lcl: set TFPCustomFont flags on TFont.Style change (bug #0017930)
git-svn-id: trunk@28268 -
2010-11-16 08:25:56 +00:00
paul
d20b80df76 lcl: make lcl resource cache thread-safe (based on patch of Bernd Engelhardt, issue #0016092)
git-svn-id: trunk@24716 -
2010-04-19 09:01:04 +00:00
paul
e93e11b149 lcl: add an ability to select cleartype fonts on windows.
qt: add support for cleartype font requests

git-svn-id: trunk@20907 -
2009-07-20 14:19:09 +00:00
paul
6eb542a6f7 lcl: add Orientation to the TFontData structure (fixes issue #0009754)
git-svn-id: trunk@20868 -
2009-07-16 01:21:29 +00:00
vincents
ee6572eea6 LCL: fixed TFont.Assign, also assign Orientation from Alexander (issue #13907)
git-svn-id: trunk@20402 -
2009-06-04 13:05:44 +00:00
paul
5a3658f85b lcl: don't crash when destroying a font after the FontResourceCache destruction
git-svn-id: trunk@20282 -
2009-05-28 14:02:00 +00:00
paul
077b9c0616 lcl: fonts:
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
  - replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848

git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
f977ee640b lcl: update font on Height change. Change the size only is not correct since LogFont contains lfHeight = Height. fixes bug #0013727
git-svn-id: trunk@20010 -
2009-05-17 13:57:24 +00:00
paul
fd36716c15 lcl: formatting
git-svn-id: trunk@20008 -
2009-05-17 13:33:55 +00:00
sekelsenmat
4167e49626 Fixes small mistake in the new TFont orientation property
git-svn-id: trunk@19737 -
2009-05-01 14:18:20 +00:00
sekelsenmat
9c170f9a4f Adds orientation property for TFont
git-svn-id: trunk@19734 -
2009-05-01 14:00:12 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
martin
79727cbfff Gtk fix: cell-based fonts are monospace (font-dialog did diagnostic them as proportional)
git-svn-id: trunk@18539 -
2009-02-02 23:16:12 +00:00
paul
f7e1b1b5ac lcl: set some default values to TFont properties
git-svn-id: trunk@17699 -
2008-12-06 11:46:59 +00:00
paul
1f905fd95f lcl: Pen and Font cache
- simplify some Font cache methods
  - rewrite Pen cache to store pattern separate of LogPen

git-svn-id: trunk@17305 -
2008-11-10 04:14:15 +00:00
tombo
60fc419118 LCL graphics: implemented specifying font anti-aliasing as TFont.Quality (works in win so far)
git-svn-id: trunk@16907 -
2008-10-07 07:58:09 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
5af7559bfd lcl: safer gdi handles typecasting
git-svn-id: trunk@15217 -
2008-05-23 12:07:50 +00:00
paul
e5b449c97e lcl: safer gdi handles typecasting
git-svn-id: trunk@15216 -
2008-05-23 11:58:39 +00:00
paul
829ed3c0f8 lcl: safer gdi handles typecasting
git-svn-id: trunk@15214 -
2008-05-23 11:36:55 +00:00
paul
394a35359a lcl: safer gdi handles typecasting
git-svn-id: trunk@15213 -
2008-05-23 11:20:03 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
mattias
2ccba88670 gtk2 intf: improved rotated fonts
git-svn-id: trunk@14045 -
2008-02-09 13:58:27 +00:00
paul
dff1565eb1 gtk2:
- enable GetObject for HFont
- use MulDiv in font size calculation instead of *, div (as in font.inc) (Grzegorz Zakrzewski)
- use PixelsPerInchY instead of PixelsPerInchX (Grzegorz Zakrzewski)
- minor formatting

git-svn-id: trunk@13985 -
2008-02-06 04:37:06 +00:00
paul
be47779e65 use same Size<->Height formula as in other places
git-svn-id: trunk@13380 -
2007-12-19 02:00:10 +00:00
paul
7bc0a3cc0f font handle/reference rework
git-svn-id: trunk@13290 -
2007-12-12 05:58:15 +00:00
mattias
dd735a4378 replaced writeln with debugln
git-svn-id: trunk@13011 -
2007-11-24 21:28:46 +00:00
vincents
f1d7bb44a0 LCL: use muldiv to convert Font.Size to Font.Height and vice versa from Grzegorz Zakrzewski (bug #10138)
git-svn-id: trunk@12842 -
2007-11-12 19:46:43 +00:00
mattias
dbf55b433f IDE: started code help hint window
git-svn-id: trunk@12766 -
2007-11-07 17:00:51 +00:00
mattias
576644f062 memcheck: updated for fpc 2.3.1
git-svn-id: trunk@11846 -
2007-08-22 21:31:28 +00:00
jesus
c6b6e33146 LCL: using round to calculate font's height and size to preserve presicion
git-svn-id: trunk@11179 -
2007-05-22 22:36:44 +00:00
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
mattias
0f2b6b8e44 gtk2 intf: fonts of device contexts are now created on demand
git-svn-id: trunk@11121 -
2007-05-10 08:44:03 +00:00
mattias
9747f91093 added FontIsMonoSpace
git-svn-id: trunk@10043 -
2006-10-05 21:50:05 +00:00
mattias
6549ac35a0 clean up
git-svn-id: trunk@9264 -
2006-05-13 08:41:09 +00:00
mattias
0138b73a5a gtk2/gtk1 intf: improved TextOut with size and color from Darek
git-svn-id: trunk@9263 -
2006-05-13 08:25:27 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
jesus
fe17bc7959 simplified GTK2 CreateFontIndirectEx
git-svn-id: trunk@9203 -
2006-04-29 19:53:33 +00:00
mattias
b6da4edd5c deactivated auto DropedDown on TCustomComboBox.MouseUp
git-svn-id: trunk@8865 -
2006-03-04 01:08:02 +00:00
mattias
1f08229ba5 added TFont.IsEqual
git-svn-id: trunk@8541 -
2006-01-17 12:33:53 +00:00
jesus
e8571efcd2 TFont.Assign now looks at source font PixelsPerInch to set font height
git-svn-id: trunk@8338 -
2005-12-18 20:19:50 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
vincents
7ecd5dbcf0 remove ===-lines in cvs log comments, so removelog awk script does its work correctly
git-svn-id: trunk@7540 -
2005-08-22 11:51:25 +00:00
vincents
90b9862494 removed $IFDEF VER1 from Martin Smat
git-svn-id: trunk@7473 -
2005-08-02 20:00:41 +00:00
vincents
5c84454943 changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
git-svn-id: trunk@6915 -
2005-03-07 21:59:45 +00:00
mattias
2db9ede5e0 fixed gtk1 font rotating from C Western
git-svn-id: trunk@6901 -
2005-03-05 14:44:01 +00:00