Bug 509 : PFont.index function uses value.length instead of charCount
Last modified: 2007-01-30 20:31




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
hedb
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2007-01-30 13:44
In the PFont creation the case of non supported characters is dealt with by
filling all the arrays only with visible characters.
In the end of the loop we do
charCount = index;
so we need to use charCount.

If i'm using a hebrew font that doesn't support alot of characters from the
default charset i've got in the end a lot of 0, so i can't rely on
value.length.
Additional Comment #1 From fry 2007-01-30 20:31
now fixed for 0124, good catch.