-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing SVG fonts substitution #248
Comments
I think we need an SVG cleaning process to preprocess the files otherwise it’s too prone to breakage. I’m sure there’s a compliance check somewhere right? |
Fonts inside SVG have always been an issue we have to resolve, because it is not possible for us to have all fonts people specify in the SVG files. |
Regarding issue:
the styles determined in the element <style type="text/css">
.st0_inject_0 {opacity:0.5019608;fill-rule:evenodd;clip-rule:evenodd;fill:#969696;enable-background:new ;}
.st1_inject_0 {fill-rule:evenodd;clip-rule:evenodd;fill:#FFCCFF;}
.st2_inject_0 {fill:none;stroke:#000000;stroke-width:1.5013124;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st3_inject_0 {font-family:'Calibri';}
.st4_inject_0 {font-size:9.7585306px;}
.st5_inject_0 {font-family:'Calibri-Bold';}
.st6_inject_0 {font-family:'Calibri-Italic';}
.st7_inject_0 {font-family:'Calibri-BoldItalic';}
.st8_inject_0 {fill-rule:evenodd;clip-rule:evenodd;fill:#F0F0F0;}
.st9_inject_0 {fill:none;stroke:#D7D7D7;stroke-width:0.7506562;stroke-linecap:square;stroke-miterlimit:10;}
.st10_inject_0 {fill-rule:evenodd;clip-rule:evenodd;fill:#CCFFCC;}
.st11_inject_0 {fill:none;stroke:#000000;stroke-width:0.7506562;stroke-linecap:square;stroke-miterlimit:10;}
.st12_inject_0 {enable-background:new ;}
.st13_inject_0 {fill:#003060;}
.st14_inject_0 {font-family:'KozGoPr6N-Regular-90ms-RKSJ-H';}
.st15_inject_0 {fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFCC;}
.st16_inject_0 {font-family:'Meiryo-Bold';}
.st17_inject_0 {font-size:12.010499px;}
.st18_inject_0 {letter-spacing:-2.352941;}
.st19_inject_0 {fill:none;stroke:#000000;stroke-width:1.5013124;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:10;}
.st20_inject_0 {fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}
</style> I need to add the parsing. |
The font names from
but still there are messages from Apache FOP:
|
Source issue: metanorma/metanorma-plateau#2
From full Plateau PDF generation:
Two issues:
''MS-PGothic''
mn2pdf
, it replaced by FOP default fontany,normal,400
. Therefore PDF don't PDF/UA compliant.The text was updated successfully, but these errors were encountered: