inDesign ebook not printing font from character style - css

I have an inDesign document that uses a character style to change ü to wingdings which prints a check mark. This works perfectly throughout the document and when I export to PDF, but not in an eBook. In the eBook the check is just the regular ü. I am getting an error message about the css, but I don't see anyplace that addresses fonts in the export. Does anyone know of a way around this? Thank you!

Related

Created pdf does not display all UTF-8 characters

I'm creating a PDF document using HtmlRenderer.PdfSharp library. Back-end receives html from front-end and creates PDF using GeneratePdf() method.
PdfGenerator.GeneratePdf(html, PdfSharp.PageSize.A4);
The process works fine when standard latin characters are used in html. I've tried to pass UTF-8 test file as an input in front-end and some of the characters hasn't rendered properly as seen in attached image. When I've bypassed front-end by hard-coding html value the result was the same, so I assume the problem lays in library.
Is there a way to properly render those characters with this library? I especially care about math symbols such as ∮ or ℝ ⊂ ℂ.
I've found the answer thanks to https://stackoverflow.com/a/59377248
Setting font-family in html element containing math symbols to "Segoe UI Symbol" allowed PdfSharp to render those symbols properly.
Character Map is an useful tool in searching for fonts that include wanted symbols.

Export Superscript text to worddoc from HTML

In my asp.net website I have a HTML page which contains some words with Superscript, for example the HTML representation is as below...
ABC<sup>def</sup>
when it is rendered in browser it appears like this : ABCdef
I have a export feature which export the HTML document to a word document. When I am exporting it is being exported as ABC<sup>def</sup> in the worddoc.
I have been trying to do it using some kind of regex html = html.Replace("<sup>", "\"");
but that doesn't help.
Can anybody please help me how would I make it appear as ABCdef in my word document too using asp.net?
This is an older question but I've been trying to do the same thing in reverse. The problem is with how Word formats and defines its super and subscripts.
There are no tags that Word used to define super and subscripts, it uses relative positioning and font-size declarations to generate symbols that look like super and subscripts.
Unfortunately there is no reliable regex to turn Word's positioning into super/subscripts, and there is no way to regex a document with those tags to make Word recognize them.

birt report arabic text not showing in pdf

Hi I'm trying to enter simple arabic text in a brt report, the arabic text shows fine in the editor, but in the pdf it shows unknown caracters.
I'm guessing it's some sort of encoding, i tried to use tahoma font (since it includes arabic, ) but same problem.
Any idea how to fix this ?
Thanks
I had similar issue in my application.Its related to font. For that I have created my version of fontsConfig.xml and loaded it on my application start.
EngineConfig class has the following method to load it.
setFontConfig( URL fontConfig )

Wkhtmltoxsharp no cyrillic

I am using wkhtmltopdf with wkhtmltoxsharp wrapper. When I try to convert HTML to "pdf" it converts it, but only when the text is latin. I cannot convert Cyrillic text, i get some strange characters.
Can you please help me, if you know any solution?
I have tested wkhtmltopdf with cyrilic, chinese and korean and they all work for me. Do you do the conversion on your desktop or on a server? It could be that the server does not have proper fonts the installed - that commonly causes this problem.
Also, it would help to see a little example of the content you are converting and the command (or piece of code) you use to convert.

Text in resource file is not displaying correctly in Chinese

I have a website that is written in asp.net where the text is resourced in resource files. I am able to successfully view the correct characters for all (Spanish, German, Arabic, Korean, etc) languages except Chinese. When I change my browser to Chinese (any version) I get weird characters displayed. I have Chinese fonts installed and have tried changing encoding but nothing seems to work. This is happening in both IE9 and FF9.
Ex:
English - Progress
Chinese (in resource file) - 進度
Display in browser - 进程
Any help would be appreciated,
Matt
If you see weird characters in the .resx file when you edit it in Visual Studio, that means the file itself is corrupt. Fix the errors and the text should show up properly in the browser.

Resources