View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015449LazarusWidgetsetpublic2009-12-31 12:002014-01-14 15:12
ReporterLuiz Americo 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
Platformi386OSUbuntuOS Version9.04
Product VersionProduct Build 
Target Version1.4Fixed in Version 
Summary0015449: After setting the map mode of a DC all other DC with the same font will use the transformed font under Gtk2
DescriptionWhat happens is that the SetMapMode routine transform the font and replace the PangoLayout keeping the same font handle (a PGDIObject = TFont.Reference.Handle). Since this font reference is shared between all controls with the same font description, all will use the transformed font.

The attached file contains one project and one package. To see the problem install the package and load the project in the IDE. All custom control of The IDE will show a font with size 1. Otherwise run the program and see the log messages.
TagsNo tags attached.
Fixed in Revision
LazTarget1.4
WidgetsetGTK 2
Attached Fileszip file icon SetMapMode.zip [^] (4,827 bytes) 2009-12-31 12:00

- Relationships

-  Notes
(0056388)
Zeljan Rikalo (developer)
2012-02-04 13:26

Not blocker, postponed.

- Issue History
Date Modified Username Field Change
2009-12-31 12:00 Luiz Americo New Issue
2009-12-31 12:00 Luiz Americo File Added: SetMapMode.zip
2009-12-31 12:00 Luiz Americo LazTarget => -
2009-12-31 12:00 Luiz Americo Widgetset => GTK 2
2009-12-31 13:42 Vincent Snijders LazTarget - => 1.0
2009-12-31 13:42 Vincent Snijders Status new => acknowledged
2009-12-31 13:42 Vincent Snijders Target Version => 1.0.0
2012-02-04 13:26 Zeljan Rikalo LazTarget 1.0 => 1.2
2012-02-04 13:26 Zeljan Rikalo Note Added: 0056388
2012-03-13 07:50 Vincent Snijders Target Version 1.0.0 => 1.2.0
2014-01-14 15:10 Martin Friebe LazTarget 1.2 => 1.4
2014-01-14 15:12 Martin Friebe Target Version 1.2.0 => 1.4



MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker