FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 728 : PDF library can not render Unicode characters
Last modified: 2008-02-16 09:02
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
727
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
JiantaoShi
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-02-16 05:19
the pdf library can not render unicode characters, for example, greek letters.
Code tested:
import processing.pdf.*;
size(600,800);
background(255);
beginRecord(PDF,"test.pdf");
PFont arial = createFont("Arial",48);
textFont(arial);
textSize(10);
fill(0);
text("\u03B1",50,50);
text("\u0391",50,70);
endRecord();
i can see the letters in the screen, but get an empty PDF file.
processing version:0135beta.
Additional Comment
#1 From fry 2008-02-16 09:02
*** This bug has been marked as a duplicate of
727
***