Correct, but i need to get this glyph in the specified font and put it inside my renderer in javaFX
2017-08-09 13:06 GMT-03:00 Tilman Hausherr <thaush...@t-online.de>: > Am 09.08.2017 um 02:31 schrieb Tretonio Tretis: > >> My intention is renderer complete page into javaFX, with Text my renderer >> this correct, but in glyph no. >> > > I still don't understand you, specifically "with Text my renderer this > correct, but in glyph no". I think we have a language problem here.... > > A glyph is the visual representation of a character, and many characters > make a text. So for one character (like "a") there can be many glyphs, > depending on what font you're using. > > PDFBox doesn't have any support for JavaFX. Either you render into a > BufferedImage, or you'd have to create your own PDFRenderer and PageDrawer > by copying + modifying the source code, and then you can draw into a JavaFX > graphics context. > > Tilman > > > >> 2017-08-08 13:40 GMT-03:00 Tilman Hausherr <thaush...@t-online.de>: >> >> Am 07.08.2017 um 21:01 schrieb Tretonio Tretis: >>> >>> I'm rendering in JavaFX, >>>> Is it possible to get the glyph to paint in javaFX? >>>> >>>> Javafx.scene.canvas.Canvas canvas = new javafx.scene.canvas.Canvas (); >>>> >>>> GraphicsContext2 gc = canvas.getGraphicsContext2D (); >>>> >>>> What is "the glyph"? Which one? Do you want to render whole PDF pages, >>> or >>> glyphs only, i.e. create your own renderer? >>> >>> Tilman >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org >>> For additional commands, e-mail: users-h...@pdfbox.apache.org >>> >>> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > >