View Issue Details

IDProjectCategoryView StatusLast Update
0002951DarkRadiantGUIpublic11.10.2012 19:03
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.7.0 
Target Version1.8.0Fixed in Version1.8.0 
Summary0002951: Grid text is not rendered
DescriptionAccording to rand0m:

Hi guys,
the recent version of darkradiant (1.7) is unable to display the grid numbers in the ortho view due to use of the deprecated "gdk::gl::font::use_pango_font" function. When switching between editor layouts, crashes can occur.
I rewrote the broken code with the use of the ftgl-library, freetype and fontconfig. If you are interested in the code, pm me. Unfortunately I don't have permission to upload diff-files.
The only problem with my "solution" is that fontconfig is only available on *nix systems. I use it to get the path to the appropriate font files. A similar mechanism for Windows is missing since I'm not familiar with the internals of the windows font support.
Additional InformationI fixed this by implementing rand0m's patch and packaging two free fonts with DarkRadiant. The Win32 implementation of GLFont doesn't use fontconfig, instead it's looking up the TTF files in the ui/fonts folder.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
28.12.2011 18:55 greebo New Issue
28.12.2011 18:56 greebo Assigned To => greebo
28.12.2011 18:56 greebo Status new => assigned
28.12.2011 18:56 greebo Target Version => 1.8.0
28.12.2011 18:56 greebo Status assigned => resolved
28.12.2011 18:56 greebo Fixed in Version => 1.8.0
28.12.2011 18:56 greebo Resolution open => fixed
11.10.2012 19:03 greebo Status resolved => closed