[Gambas-Notification] [Git][gambas/gambas][master] 2 commits: Font.Height now uses the same metrics as Font.TextHeight().

Benoît Minisini gitlab at mg.gitlab.com
Fri Mar 12 03:40:39 CET 2021



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
709a11d2 by gambas at 2021-03-12T03:36:19+01:00
Font.Height now uses the same metrics as Font.TextHeight().

[GB.QT4]
* BUG: Font.Height now uses the same metrics as Font.TextHeight().

[GB.QT5]
* BUG: Font.Height now uses the same metrics as Font.TextHeight().

- - - - -
e3078144 by gambas at 2021-03-12T03:40:35+01:00
Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!

[GB.GUI.BASE]
* BUG: Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!

- - - - -


5 changed files:

- comp/src/gb.gui.base/.project
- comp/src/gb.gui.base/.src/Paint.class
- comp/src/gb.gui.base/.src/Test/FTestFrame.form
- gb.qt4/src/CDraw.cpp
- gb.qt4/src/CFont.cpp


View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/c7fa0b4295271787f22e555c3856904d672883e6...e3078144c84940bd8bdd8811da6f131412116341

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/c7fa0b4295271787f22e555c3856904d672883e6...e3078144c84940bd8bdd8811da6f131412116341
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210312/143bfa23/attachment.htm>


More information about the Notification mailing list