On Thu, 2017-02-02 at 09:09 +0300, Nikita Shlyapnikov wrote:
> PDF specification does not support changing the font's style. If the 
> used font is not bold and/or italic then it can not be made such.

        Hi,
this statement is not correct, at least not for TrueType fonts.

Section 5.5.2 of PDF 1.7 reference says:
 | If the font in a source document uses a bold or italic style but
 | there is no font data for that style, the host operating system
 | synthesizes the style. In this case, a comma and the style name
 | (one of Bold , Italic , or BoldItalic ) are appended to the font
 | name. For example, for a TrueType font that is a bold variant of
 | the New York font, the BaseFont value is written as
 | /NewYork,Bold (as illustrated in Example 5.8).

I cannot speak of the other aspects of your proposal, that requires
more specification reading, testing and so on, which requires quite
some time.
        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to