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

Re : PDF export / preserving ability to edit text

$
0
0
Unfortunately this doesnt work, I've already tried it. In the example above I get error. While in examples that use beginRecord() / endRecord() I don't get error but pdf with font again converted to shapes :-(

  1. Exception in thread "Animation Thread" java.lang.RuntimeException: Use textMode(SHAPE) with PDF when loading .ttf and .otf files with createFont().
  2. at processing.pdf.PGraphicsPDF.checkFont(Unknown Source)
  3. at processing.pdf.PGraphicsPDF.textFont(Unknown Source)
  4. at processing.core.PGraphics.textFont(PGraphics.java:3973)
  5. at processing.core.PApplet.textFont(PApplet.java:12137)
  6. at pdf_font_export_test.setup(pdf_font_export_test.java:27)
  7. at processing.core.PApplet.handleDraw(PApplet.java:2117)
  8. at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:193)
  9. at processing.core.PApplet.run(PApplet.java:2020)
  10. at java.lang.Thread.run(Thread.java:662)



Viewing all articles
Browse latest Browse all 1768

Trending Articles