Using @font-face with ABCPDF? Or other way of getting fonts into PDF?

前端 未结 2 1326
情书的邮戳
情书的邮戳 2021-01-05 19:49

We have a large application successfully using ABCPDF.NET with HTML Styled text. We\'re accustomed to adding text using fonts not installed in Windows, but stored in files e

相关标签:
2条回答
  • 2021-01-05 20:38

    I work on ABCpdf and I can tell you that it is down as a feature request. The more people request it the sooner it will come. :-)

    0 讨论(0)
  • 2021-01-05 20:40

    NOTE:

    As of ABCpdf 11, this works. Font files must either be at an accessible HTTP/HTTPS url (works with either AddImageHTML() or AddImageURL() or, if you wish to use a file:/// URL, you must write the HTML to a file and use AddImageURL(). Font files can be OpenType, TrueType, Type 1 or WOFF webfonts.

    Sample code given in question works now, unchanged.


    Previous answer:

    WebSuperGoo responded:

    ABCpdf does not currently support fonts added using @font-face.

    So, as of the 9.0 release of ABCpdf, that's that.

    0 讨论(0)
提交回复
热议问题