Hello from germany,

as the subject tells: I have a prepared PDF-document, to which I add some textual content and a table. The document has an embedded font that has to be used due to corporate design regulations. How can I make any text that I add to the document use that embedded font?

To give some more details: I add the texts using ColumnText writing to a PdfContentByte-Object. Same is done with the PdfPTable that I use to create the table content. It works fine but of cause it can only use the system fonts so far. Or would it be better to register that True Type-font as described in the book (chapter 9, isn't it?) instead of fishing for the embedded font?

I failed to find an answer to this question in the book an using google, but in case someone knows where/what I have to read to find the solution by myself, feel welcome to give me an hint.

Thank you in advance,

Oliver Schönwald



--
Oliver Schönwald, Diplom-Informatiker

FernUniversität Hagen
Zentrum für IT und Medien (ZMI) - Competence Center Anwendungsentwicklung
Universitätsstr.21/AVZ - 58084 Hagen - Deutschland
fon: +49 2331 987 1721 - email: [EMAIL PROTECTED]

begin:vcard
fn:Oliver Schoenwald
n:Schoenwald;Oliver
org;quoted-printable:FernUniversitaet Hagen;ZMI - Zentrum f=C3=BCr Medien und IT
adr:;;Universitaetsstrasse 21;Hagen;NRW;58300;Deutschland
email;internet:[EMAIL PROTECTED]
tel;work:02331 987 1721
x-mozilla-html:FALSE
url:http://www.fernuni-hagen.de
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to