POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Tasklist

FS#200 - Calibri TrueType font garbled

Attached to Project: POV-Ray
Opened by Christoph Lipka (clipka) - Monday, 11 April 2011, 12:08 GMT
Last edited by Christoph Lipka (clipka) - Thursday, 21 June 2012, 23:13 GMT
Task Type Definite Bug
Category Backend → Geometric Primitives
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System All
Severity Low
Priority Normal
Reported Version 3.70 RC3
Due in Version 3.70 RC4
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

original post on povray.beta-test:

POV-Ray 3.7.0.RC3 on Slackware 13.0 x86_64.
I pointed povray to use the calibri.ttf font over on my Windows 7 partition.
The result is garbled - strange letters with accents appear instead of the
expected text. (KDE's kfontview opens calibri.ttf OK, with nothing strange).

Pointing povray to use other fonts of Win7, e.g. comic.ttf and arial.ttf, was
OK.

I solved the problem by pushing calibri.ttf through fontforge and resaving it
as mycalibri.ttf.

Cheers,
Peter

Confirmed with development version on Windows XP x64.

Possibly a similar problem as  FS#162 .

This task depends upon

Closed by  Christoph Lipka (clipka)
Thursday, 21 June 2012, 23:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  no news, so I guess the fix was effective
Comment by Christoph Lipka (clipka) - Monday, 11 April 2011, 13:33 GMT

As with  FS#162 , this is indeed a problem specific to TrueType fonts with a type 6 CMAP subtable: For these, POV-Ray erroneously truncates the 16-bit glyph indices to 8-bit values. I'll submit a fix.

Comment by Christoph Lipka (clipka) - Monday, 11 April 2011, 13:37 GMT

Fixed with change #5433.

Loading...