bugThe FreeType Project - Bugs: bug #37777, Invisible glyphmap on certain...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #37777: Invisible glyphmap on certain systems/cards

Submitter:  JD Ballard <qix>
Submitted:  Mon 19 Nov 2012 08:38:25 PM UTC
   
 
Severity:  3 - Normal Item Group:  Incorrect behaviour
Status:  Invalid Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  None

Jump to the original submission

Tue 20 Nov 2012 10:23:27 PM UTC, comment #7: 

OK.

Werner LEMBERG <wl>
Group administrator
Tue 20 Nov 2012 10:05:11 PM UTC, comment #6: 

I had set it to 10.

This is apparently not a freetype bug, but a graphics driver bug with the SFML implementation and OpenGL contexts.

This ticket can be closed.

JD Ballard <qix>
Tue 20 Nov 2012 12:24:53 AM UTC, comment #5: 

To get more debugging output, you have to set the FT2_DEBUG environment variable, e.g.

  FT2_DEBUG=any:7

to trace really everything, at the highest tracing level.

Werner LEMBERG <wl>
Group administrator
Mon 19 Nov 2012 10:16:18 PM UTC, comment #4: 

The only output I'm getting from freetype is:

> [DBG]   Theme initing
> Init_Context: new object at 0x0056D018
> FT_Stream_Open: opened `sys/theme/rippl/fonts/MankSans.ttf' (58492 bytes) successfully
> Init_Context: new object at 0x005AF580
> FT_Stream_Open: opened `sys/theme/rippl/fonts/MankSans.ttf' (58492 bytes) successfully


There are two parts of the code that are creating the font, so the twin entry makes sense (the first is from SFML, the second is from an implementation of libdrawtext).

JD Ballard <qix>
Mon 19 Nov 2012 09:09:07 PM UTC, comment #3: 


> No idea where I should start debugging, testing, etc.


Welcome to my world.

I will take a look at the docs/DEBUG file now.

Also, 'glyphmap' is a term I saw used in another library that uses freetype; just referring to the glyphs loaded in when loading a font.

JD Ballard <qix>
Mon 19 Nov 2012 09:04:35 PM UTC, comment #2: 

I'm completely lost with your bug report, unfortunately.  No idea where I should start debugging, testing, etc.  Since I'm working exclusively with GNU/Linux, I can't directly help.

What I can recommend is to compile FreeType as a static library, activating the debug macros as outlined in FreeType's `docs/DEBUG' file, then setting proper environment variables to catch the data in a log file.  Maybe this unveils some issues if run with various graphics card drivers.

BTW, what is a `glyphmap'?

Werner LEMBERG <wl>
Group administrator
Mon 19 Nov 2012 08:43:30 PM UTC, comment #1: 

Forgot to include the source with that zip. Requires the latest SFML 2.0 snapshot.

http://pastebin.com/K8ewJUP2

I tried this with the latest stable as well as the snapshot committed to master 2 days ago. Same problem.

JD Ballard <qix>
Mon 19 Nov 2012 08:38:25 PM UTC, original submission:  

Been on this one for a week.

Freetype (via SFML) loads a font without any errors or bad return codes, but the loaded glyphmap is invisible (confirmed both in GDebugger as well as an image export, attached).

This has been tested on multiple fonts (MankSans TTF, Coolvetica TTF/OTF).

The problem only exists on certain platforms (untested on Linux/Mac distros) and appears to revolve around ATI cards specifically (although I've run into one that works).

I hope I'm not stepping on any toes by linking this, but here is the original support thread that was created out of this bug:
http://en.sfml-dev.org/forums/index.php?topic=9700

At first the small scale examples worked fine, and then after upgrading catalyst's drivers and compiling from source, the small-scale refuses to work as well.

Attached are two files - one, a Zip with the build that was used to recreate/test the problem, as well as a PNG of the exported glyphsheet (transparent).

JD Ballard <qix>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #26937:  TextTest.zip added by qix (736KiB - application/octet-stream)
file #26936:  glyphsheet_dbg.png added by qix (796B - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by qix (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-20 wl StatusNeed Info Invalid
        Open/ClosedOpen Closed
    2012-11-19 wl StatusNone Need Info
        Assigned toNone wl
    2012-11-19 qix Attached File- Added glyphsheet_dbg.png, #26936
        Attached File- Added TextTest.zip, #26937

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code