[Lazarus] Source Editor font size

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Apr 22 14:13:27 CEST 2016


An even bigger issue...

3) The Font Preview in the Font Selection dialog shows the 11pt
   font as 10px high text (measured with GIMP zoomed in on a
   screenshot). Yet when the Source Editor uses that exact setting,
   the text appears as 12px high. Why the discrepancy in font
   sizes? I've attached a screenshot to show the issue.  Use a image
   editor to zoom and measure the font hight (sample editor window
   vs the GTK2 Font Preview window).

I'm using Lazarus 1.7 r51695 FPC 2.6.4 x86_64-linux-gtk 2 and my X11 is
forced to 96 dpi.

==================================
> xdpyinfo | grep resolution
  resolution:    96x96 dots per inch
==================================


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 25059 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160422/4a5db56d/attachment-0003.png>


More information about the Lazarus mailing list