[
https://issues.apache.org/jira/browse/PDFBOX-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785144#comment-15785144
]
austinchen commented on PDFBOX-3632:
------------------------------------
[~tilman] I'm sorry for bother you again, I want mapping the times font to
Serif font of liberation family, but I only find PDF box did the mapping before
PDFbox v1.8: I can see the code in loadBasefontMapping function in
PDFFontManager.java.
private static void loadBasefontMapping()
{
// use well known substitutions if the environments doesn't provide
native fonts for the 14 standard fonts
// Times-Roman -> Serif
if (!addFontMapping("Times-Roman","TimesNewRoman"))
{
addFontMapping("Times-Roman","Serif");
}
if (!addFontMapping("Times-Bold","TimesNewRoman,Bold"))
{
......
But for PDFbox v2.0: I didn't find the mapping, so is there a way let me do the
mapping again?
> PDF convert TIFF on Linux server: Font changed and Chebox can't see the
> checked mark
> -------------------------------------------------------------------------------------
>
> Key: PDFBOX-3632
> URL: https://issues.apache.org/jira/browse/PDFBOX-3632
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.2
> Environment: linux
> Reporter: austinchen
>
> I converted the PDFbox to a tiff file on Linux, compare the PDF file, there
> are below issues:
> 1. Font style changed, like bold type changed the lighter ;
> 2. The character of Microsoft Yahei Font was lost (On windows server is OK,
> have no this issue);
> 3. The check box only leave the box,the Check mark was lost, but when I
> changed the check mark style, like use the star mark, it appeared again; (On
> windows server is OK, have no this issue);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]