FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 509 : PFont.index function uses value.length instead of charCount
Last modified: 2007-01-30 20:31
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
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.