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

 
 

bug #37777: Invisible glyphmap on certain systems/cards

Submitted by:  JD Ballard <qix>
Submitted on:  Mon 19 Nov 2012 08:38:25 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

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

OK.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 20 Nov 2012 10:23:27 PM UTCwlStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Mon 19 Nov 2012 09:04:35 PM UTCwlStatusNone=>Need Info
      Assigned toNone=>wl
    Mon 19 Nov 2012 08:38:25 PM UTCqixAttached File-=>Added glyphsheet_dbg.png, #26936
      Attached File-=>Added TextTest.zip, #26937

    Back to the top


    Powered by Savane 3.1-cleanup1