Set print-to-browser font based on user preference
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
I have no programming knowledge, but I assume that Zim interprets the wiki-markup language of the text files and print the output using some templates (.xml or .css). I am not able to tailor a template for my needs at the current time.
My issue is about Asian language rendering in a browser when using a custom font. To illustrate my question, I post 3 print screens of a sample text I wrote in Zim; printed to browser; and exported to a HTML default template. Custom font setting: DejaVuSans Book, 12 pt
ps1. The Zim window
Roman and Japanese characters render correctly on screen
ps2. Function File > Print to browser
The FF browser does not print the custom font set in the zim Prefernce (DejaVuSans). It prints the default system font (Sans).
You can see that by comparing the Japanese sentence in the Zim windows (DejaVuSans) vs. the same sentence in the FF Browser.
ps3. Function Export > Output HTML > Template default
The HTML page omits the Japanese sentence. Only the Japanese title (formatted with Ctrl+3) is printed. Others changes have occurred when compared to the source (see: ps1) and the formatting is incorrect (font + font formatting)
Once again, my technical knowledge is fairly basic to troubleshoot such issue. the "Zim export function" (if it relies on HTML templates) seems limited to the system font or "Sans" font--on a Ubuntu Linux distribution
Is there a possibility to render correctly Asian characters using the Zim printing or exporting function? Eventually could it be a feature request?
@Jaap, thank you for your patience and kind answers. I gave Zim a thorough testing these 2 last days and I am almost done with my questions
Changed in zim: | |
importance: | Medium → Wishlist |
tags: | added: export papercut templates |
Could you also attach the text file of the test page? I can't easily type japanese myself to test this ;)