I meant combine, all subset parts which belong to a certain font contain all the glyphs (with original text).

Text; hello world
subset 1 contains hello
subset 2 contains world

Regards Peter

On 15 feb 2012, at 19:11, Leonard Rosenthol wrote:

How could you reuse a subset font, if the font doesn’t have the glyphs you need??!

From: Peter van Raamsdonk [mailto:peet...@hotmail.com]
Sent: Wednesday, February 15, 2012 12:49 PM
To: Post all your questions about iText here; Leonard Rosenthol; Vahid Nasiri
Subject: Re: [iText-questions] Font subsets document

I hoped the FontSelector what Vahid also suggested would do the trick by adding all the subsetted fonts but alas.

It would be nice to reuse (subsetted) fonts but it starts with the program that embeds the fonts.

Oki I understand, have a nice evening,

Peter


On 15 feb 2012, at 13:40, Leonard Rosenthol wrote:


Not using standard tools such as Word or Acrobat – no, there is not.

Subsetting fonts is a common and standard practice.

Leonard

From: Peter van Raamsdonk [mailto:peet...@hotmail.com]
Sent: Wednesday, February 15, 2012 6:41 AM
To: vahid_nas...@yahoo.com; Leonard Rosenthol; 
itext-questions@lists.sourceforge.net
Subject: RE: [iText-questions] Font subsets document


I finally understand a bit, Word 2007 embedded subsets of the fonts used.

Calibri subset (ABCDEE)
Verdana,Bold subset (ABCDEE)
Verdana subset (ABCDEE)
Verdana subset (ABCDEE)

I created a font of the basefont not containing all glyphs.

The original text has a trademark sign, I can't force to embed without subsets (even with pdf/a option ticked).

Is there a way to create a 'complete' font of these subfonts, reconstructing them?

Kind regards,

Peter

Date: Sat, 11 Feb 2012 04:49:29 -0800
From: vahid_nas...@yahoo.com
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Font subsets document

Hello,
MS-Word uses "Font Fallback" mechanism to show "missing glyphs" of your selected font. more info: http://msdn.microsoft.com/en-us/goglobal/bb688134 iText/Sharp has the same capability which is defined in FontSelector class. Here you can define your "Font Substitution" strategy and then call fontSelector.Process method.


From: Peter van Raamsdonk <peet...@hotmail.com>
To: Post all your questions about iText here <itext-questions@lists.sourceforge.net >
Sent: Saturday, February 11, 2012 11:53 AM
Subject: [iText-questions] Font subsets document

Morning all,

I have a pdf created from a Word document (template). From the pdf I
get all the document base fonts used, I choose a basefont and create a
font from this to include some extra text.
When I add the text with contentByte from the stamper and setText with
hard coded text like "Uw" the text is shown with square before the w
(like the glyph can't be drawn).

If I use BaseFont.createFont() the text is shown normally but I want
the style/ font family properties of the font used originally.

Regards,

Peter van Raamsdonk



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php




------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples:http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to