SV: [xep-support] Requests for xep.next

Mattias Moltkesson mattias.moltkesson at itello.se
Wed Oct 21 11:50:01 PDT 2009


Regarding point 1, I had the even bigger problem that the SVG-file wouldn't load on a server without Internet access. This was fixed by modifying the DOCTYPE-declaration of the SVG-file from

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
	<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
	<!ENTITY ns_svg "http://www.w3.org/2000/svg">
	<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>

...to... 

<!-- Note that the DOCTYPE-declaration has been modified to not contain an URL, since the XML parser that RenderX uses 
    will otherwise try to download the DTD and fails to load the image if it can't (which is usually the case on 
    productions servers that lack internet access). -->
<!DOCTYPE svg [
	<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
	<!ENTITY ns_svg "http://www.w3.org/2000/svg">
	<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>

Perhaps you could try a similar modification of your SVG-files.


/MM

-----Ursprungligt meddelande-----
Från: owner-xep-support at renderx.com [mailto:owner-xep-support at renderx.com] För Dongsheng Song
Skickat: den 20 oktober 2009 04:23
Till: xep-support at renderx.com
Ämne: [xep-support] Requests for xep.next

1) Disable dtd validation completely or support xml catalogs

When my fo file use many svg figures, xep will download

http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd

many times.

2) Improve quality of svg figures

If I use color svg files directly, e.g.

docbook-xsl/images/colorsvg/warning.svg

The figures in pdf will have some color display distortion.

3) Use postscript font name in PDF output

When I use Chinese font in Windows XP, e.g.

simsun.ttc, simhei.ttf, simkai.ttf, simfang.ttf

The embed font name of output PDF files display mess chars,
It seems that xep use local font name with wrong encoding.

4) fonts autoregistration
Xep should support fonts autoregistration, scan system font directories
or specified directories.

5) improve mixed font support
When I use mixed font (text of mixed English and Chinese character) in
fo files like this:

font-family="Myriad Pro,SimSun"

The pdf file not display as good as word, xep should improve the
algorithm of height and spacing for text of mixed English and Chinese
characters.

--
Dongsheng Song
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list