Bug 1131

Summary: Some TTF fonts not working in the new Graph API renderer
Product: [JogAmp] Jogl Reporter: Alan Sambol <alan.zgb>
Component: graphAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: major CC: kdropucic, rami.santina, sgothel
Priority: ---    
Version: tbd   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---
Bug Depends on:    
Bug Blocks: 1064    
Attachments: Example of a problematic font

Description Alan Sambol 2015-02-23 15:54:31 CET
I downloaded the play fonts from here http://www.fontsquirrel.com/fonts/play in TTF format. 

The bold one works fine, but the regular one can't find any glyphs when trying to draw: 

 java.lang.RuntimeException: Could not retrieve glyph for symbol: <T> 84 -> glyph id 0 
        at jogamp.graph.font.typecast.TypecastFont.getGlyph(TypecastFont.java:200) 
        at com.jogamp.graph.curve.opengl.TextRegionUtil.processString(TextRegionUtil.java:123) 
        at com.jogamp.graph.curve.opengl.TextRegionUtil.addStringToRegion(TextRegionUtil.java:153) 
        at com.jogamp.graph.curve.opengl.TextRegionUtil.drawString3D(TextRegionUtil.java:182) 

This happens to most of TTF fonts I tried.
Comment 1 Alan Sambol 2015-02-23 15:55:19 CET
Created attachment 689 [details]
Example of a problematic font
Comment 2 Sven Gothel 2023-09-24 01:23:21 CEST
Resolved with latest changes.
Sorry for not having used Bugzilla for this matter.