When I use the following conf:
<?xml version="1.0" encoding="UTF-8"?>
<fop version="1.0">
  <renderers>
    <renderer mime="application/pdf">
      <fonts>
        <substitutions>
          <substitution>
            <from font-family="SimSun" font-style="italic"/>
            <to font-family="SimSun"/>
          </substitution>
          <substitution>
            <from font-family="SimSun" font-weight="700..900"/>
            <to font-family="SimHei"/>
          </substitution>
          <substitution>
            <from font-family="SimSun" font-style="italic" font-weight="bold"/>
            <to font-family="SimHei"/>
          </substitution>
...

fop not use "SimHei,normal,400" substitute "SimSun,normal,700", why ?
...
[WARN] FOUserAgent - Font "SimSun,normal,700" not found. Substituting
with "SimSun,normal,400".
...

Thanks for some help,

---
Dongsheng Song

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to