ralfstuckert / pdfbox-layout

MIT License
155 stars 74 forks source link

Can pdfbox-layout set text to invisible? #57

Closed arnthom closed 6 years ago

arnthom commented 6 years ago

I found that pdfbox can set a rendering mode (RENDERING_MODE_NEITHER_FILL_NOR_STROKE_TEXT) for text, so that this is invisible (foregroundcolor is backgroundcolor). Is the a markup for pdfbox-layout to do such thing?

ralfstuckert commented 6 years ago

Not that way. But you can set the color by using markup, see the wiki.

arnthom commented 6 years ago

ok, this was just an alternative route to indentation, but meanwhile a different approach works well.