You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Tilman Hausherr <TH...@t-online.de> on 2021/08/05 18:07:21 UTC

Re: ① font name and ② actual font name

Hi,

I do not fully understand you (it seems an image is lost), but maybe I  
suspect what you like to do. Please try to change the  
ExtractTTFFonts.java program from the examples in the source code  
download. Instead of saving the fonts, call getName() on the font  
objects. There may be more methods in the individual font types so that  
you get more. If you need more help, please share your PDF (upload to  
sharehoster) and the modified code.

Tilman

Am 05.08.2021 um 13:42 schrieb uchida.kazuyuki@kobelcosys.co.jp:
> HI
>
>
> In the PDF document properties, $B-!(B font name and $B-"(B actual font name were
> defined.
> How do you use the above $B-!(B and $B-"(B properly inside the pdfbox?
>
> For example, if you search for the font in $B-!(B and cannot find it, do you
> search for the font in $B-"(B?
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Re: ① font name and ② actual font name

Posted by Tilman Hausherr <TH...@t-online.de>.
Hello,

Attachments are usually deleted, so it's not visible. You'd have to 
upload it somewhere. Pure inline attachments seem to be kept (thunderbird).

Download the source code
https://www.apache.org/dyn/closer.lua/pdfbox/2.0.24/pdfbox-2.0.24-src.zip

or get it here
https://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ExtractTTFFonts.java?view=markup

Tilman

Am 06.08.2021 um 04:25 schrieb uchida.kazuyuki@kobelcosys.co.jp:
> Hi
>
> >I do not fully understand you (it seems an image is lost)
>
> Attach the Image of Property.
>
>
>
>
> >Please try to change the  ExtractTTFFonts.java
>
> For 2.0.23, what is the code equivalent to "ExtractTTFFonts.java"?
>
>
>
> 送信元: Tilman Hausherr <TH...@t-online.de>
> 宛先: users@pdfbox.apache.org
> 日付: 2021/08/06 03:07
> 件名: Re: ① font name and ② actual font name
> ------------------------------------------------------------------------
>
>
>
> Hi,
>
> I do not fully understand you (it seems an image is lost), but maybe I
> suspect what you like to do. Please try to change the
> ExtractTTFFonts.java program from the examples in the source code
> download. Instead of saving the fonts, call getName() on the font
> objects. There may be more methods in the individual font types so that
> you get more. If you need more help, please share your PDF (upload to
> sharehoster) and the modified code.
>
> Tilman
>
> Am 05.08.2021 um 13:42 schrieb uchida.kazuyuki@kobelcosys.co.jp:
> > HI
> >
> >
> > In the PDF document properties, ① font name and ② actual font name were
> > defined.
> > How do you use the above ① and ② properly inside the pdfbox?
> >
> > For example, if you search for the font in ① and cannot find it, do you
> > search for the font in ②?
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org



Re: font name and actual font name

Posted by uc...@kobelcosys.co.jp.
Hi

>I do not fully understand you (it seems an image is lost)

Attach the Image of Property.




>Please try to change the  ExtractTTFFonts.java

For 2.0.23, what is the code equivalent to "ExtractTTFFonts.java"? 



$BAw?.85(B: Tilman Hausherr <TH...@t-online.de>
$B08@h(B:   users@pdfbox.apache.org
$BF|IU(B:   2021/08/06 03:07
$B7oL>(B:   Re: $B-!(B font name and $B-"(B actual font name



Hi,

I do not fully understand you (it seems an image is lost), but maybe I 
suspect what you like to do. Please try to change the 
ExtractTTFFonts.java program from the examples in the source code 
download. Instead of saving the fonts, call getName() on the font 
objects. There may be more methods in the individual font types so that 
you get more. If you need more help, please share your PDF (upload to 
sharehoster) and the modified code.

Tilman

Am 05.08.2021 um 13:42 schrieb uchida.kazuyuki@kobelcosys.co.jp:
> HI
>
>
> In the PDF document properties, $B-!(B font name and $B-"(B actual font name 
were
> defined.
> How do you use the above $B-!(B and $B-"(B properly inside the pdfbox?
>
> For example, if you search for the font in $B-!(B and cannot find it, do you
> search for the font in $B-"(B?
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org