• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Qns on ADE / embedded fonts in .epub

New Here ,
Jan 05, 2011 Jan 05, 2011

Copy link to clipboard

Copied

Hello,

I've created several .epub files with non-English text, using an embedded font to help render the characters correctly. The file renders properly on iBooks and Calibre (and epubcheck validates the file correctly), but ADE is displaying question marks - which leads me to believe it's ignoring the font information altogether. The weird thing is that it's rendering the TOC labels correctly. Here's what my .css looks like:

@Font-face {
font-family : Doulos SIL;
font-weight : normal;
font-style : normal;
src : url(DoulosSILR.ttf);
}
*:lang(nko) {
font-family: 'Doulos SIL', Times, serif;
direction: ltr;
}

Can anyone provide information on the following:

- Does ADE support embedded fonts? If so, what font formats are supported? (Doulos is TrueType)

- Does ADE support the :lang pseudo element? (This is just to isolate the issue - if ADE doesn't support embedded fonts, this is a moot point.)

Any info would be helpful. It looks like I'm running 1.7.2.1131 (on Windows 7 / 64bit). Thanks!

Views

550

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

LATEST

Okay, I think I've tracked it down.

ADE doesn't appear to implement the :lang pseudo element. When I set:

body {
font-family: 'Doulos SIL', Times, serif;
direction: ltr;
}

life is good and the non-English characters are rendered properly.

This does present a problem for multiple language documents, though. For example, I have a dictionary that has 4 writing systems. Having support for :lang(<xxx>) would help tremendously in this case. Is this something that is in the works for ADE?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines