Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : PDF export / preserving ability to edit text

$
0
0
It works for me in Processing 1.5.1 and 2.0b7 on WinXP. The problem may be your font.

I can select the text in Adobe Reader and also edit it in Adobe Illustrator CS6.

Adapted Code
  1. import processing.pdf.*;
  2.  
  3. void setup() {
  4.   size(200, 200, PDF, "output.pdf");
  5.   textMode(MODEL);
  6.   background(100);
  7.   textFont(createFont("Arial", 30), 30);
  8. }
  9.  
  10. void draw() {
  11.   fill(0);
  12.   text("Hello", 30, 60);
  13.   exit();
  14. }

Viewing all articles
Browse latest Browse all 1768

Trending Articles