AW: Replace embedded font document-wide by PDType1Font Helvetica in PDF document

2024-11-16 Thread Tilman Hausherr
Don't remove embedded fonts. It will make trouble. Use a similar free font instead, e.g. liberation sans. However the standard 14 type 1 helvetica isn't embedded anyway so maybe this is moot. Tilman -- Original-Nachricht -- Von: r.barc...@habmalnefrage.de.invalid Betreff: Replace embedded fon

AW: Escaping or filtering for showText

2024-11-16 Thread Tilman Hausherr
You can pass whatever you want. Everything is escaped by us. Tilman -- Original-Nachricht -- Von: r.barc...@habmalnefrage.de.invalid Betreff: Escaping or filtering for showText Datum: 16.11.2024, 19:11 Uhr An: users@pdfbox.apache.org Hi, Of course we have to watch out when user generated input

AW: Replace embedded font document-wide by PDType1Font Helvetica in PDF document

2024-11-16 Thread Sebastian Steiner
> Please see my attached sketch. My attached PNG file was stripped, I guess. So please find it here: https://imgur.com/eCieXB1 - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: user

Replace embedded font document-wide by PDType1Font Helvetica in PDF document

2024-11-16 Thread r . barclay
Hi, my app has a feature in which users can upload a PDF template. This PDF template is later used to create new documents on the server-side. Problem: Usually the font in these templates is Arial. Adobe Reader shows embedded ArialMT and Arial-BoldMT in the fonts tab of document information. Wh

Escaping or filtering for showText

2024-11-16 Thread r . barclay
Hi, Of course we have to watch out when user generated input - is included in an HTML/XML document (escape <, >, ...) or - if someone would manually concat SQL queries (don't do that) to avoid XSS attacks and SQL injections. What filtering or escaping do we have to consider for contentStream.sho

WG: Aw: AW: Replace embedded font document-wide by PDType1Font Helvetica in PDF document

2024-11-16 Thread Tilman Hausherr
Oh, this will also not work because the standard 14 fonts only support a subset. See e.g. WinAnsiEncoding in the PDF specification Tilman -- Original-Nachricht -- Von: r.barc...@habmalnefrage.de.invalid Betreff: Aw: AW: Replace embedded font document-wide by PDType1Font Helvetica in PDF documen

Aw: AW: Replace embedded font document-wide by PDType1Font Helvetica in PDF document

2024-11-16 Thread r . barclay
Tilman, > However the standard 14 type 1 helvetica isn't embedded anyway so maybe this is moot. Exactly, I want the standard type 1 helvetica which isn't embedded, instead of a proprietary font. Please see my attached sketch. For my app, I have two choices: 1. Detect fonts like Arial and reje

Aw: Aw: AW: Replace embedded font document-wide by PDType1Font Helvetica in PDF document

2024-11-16 Thread r . barclay
> Please see my attached sketch. My attached PNG file was stripped, I guess. So please find it here: https://imgur.com/eCieXB1 - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users