Good Morning,
yes, I can take that True-Type-Font and register it for further use in
that document.
As to Mr. Soares' answer, that method would be the preferred and I will
make use of it.
So, take my question as academically: is it possible to get a
Font-Object from an embedded font in a pdf-document?
I see an interesting use for that: validity check for PDF-files. In my
university the tutors are responsible to prepare
certain PDF-documents. These should use the corporate font and the
documents are uploaded to out publishing system.
When the corporate font is not embedded, the documents will not be
displayed with the right font to our students.
So, when I could add a validity checker to the upload mechanism, I could
check for the necessary corporate font
to have been included (hope I formulated that case right), warn the
uploading user (or deny the upload/publishing) and
even embed the corporate font automatically.
But, as I said, my question is now academically, as I can solve my
problem now.
Thank you,
Oliver Schönwald
Leonard Rosenthol wrote:
Why can't you just acquire a copy of the corporate font, install it on
your system, and use it there?
Leonard
On Aug 12, 2008, at 9:24 AM, Oliver Schoenwald wrote:
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
-------------------------------------------------------------------------
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
--
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