[Gambas-Notification] [Git][gambas/gambas][master] 2 commits: Implement all metrics in the custom paint device used for measuring text.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Wed Jan 5 01:23:39 CET 2022



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


Commits:
8af26cb5 by gambas at 2022-01-05T01:16:40+01:00
Implement all metrics in the custom paint device used for measuring text.

[GB.QT4]
* NEW: Do not use a copy of the font object when calling 'set_painter_font()' in 'cpaint_impl.cpp'.

[GB.QT5]
* NEW: Do not use a copy of the font object when calling 'set_painter_font()' in 'cpaint_impl.cpp'.
* NEW: Implement all metrics in the custom paint device used for measuring text.

- - - - -
c8835ae9 by gambas at 2022-01-05T01:23:32+01:00
Label: Try to take italic fonts into account in text alignement.

[GB.GUI.BASE]
* NEW: Label: Try to take italic fonts into account in text alignement.
* BUG: Label: Workaround a Qt bug where using Paint.TextExtents() on a bitmap font makes it unable to be drawn correctly.

- - - - -


6 changed files:

- comp/src/gb.gui.base/.project
- comp/src/gb.gui.base/.src/Label.class
- comp/src/gb.gui.base/.src/Test/FLabel.form
- comp/src/gb.gui.base/.src/Test/FTestFrame.class
- comp/src/gb.gui.base/.src/Test/FTestFrame.form
- gb.qt4/src/cpaint_impl.cpp


View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/4be0f59eed6e57d6298b2c056d6eb1e7a3e4c15c...c8835ae99c840199cc39e8ddd75f30d345f770a7

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/4be0f59eed6e57d6298b2c056d6eb1e7a3e4c15c...c8835ae99c840199cc39e8ddd75f30d345f770a7
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/20220105/0f8ddc81/attachment.htm>


More information about the Notification mailing list