I'm using OS X Mavericks
Quote:
Originally Posted by kovidgoyal
@Perkin: Those warnings are harmless and are caused by an incompatibility of Qt with Mavericks, just ignore them.
|
Thought they could be, just thought you'd like to be informed.
Quote:
Originally Posted by kovidgoyal
Embedded fonts should work automatically, with one exception - if the font family name in the actual font and the font family name in the @font-face rule dont match -- in that case they will not work.
Also because of a bug in Qt the embedded fonts may not show up the very first time a page is displayed, just click the refresh button under the preview panel (or make any changes to the file) and they should show up.
|
The test file does show correctly in calibre's viewer and on actual readers.
In the test file I'm using I have CSS of
Code:
@font-face {font-style:italic; font-weight:normal; font-family:"ReverseI"; src:url("../Fonts/CharisSILI.ttf");}
.reversei {font-family:"ReverseI",serif; font-weight:normal; font-style:italic; text-indent:0;line-height:1.2em;}
and html is
Code:
<p class="reversei">One light / ɥʇɐǝp<br />
Two lights / ʎǝʞ ǝuo<br />
Three lights / sɥʇnɹʇ oʍʇ<br />
Four lights / sʇǝɹɔǝs ǝǝɹɥʇ</p>
The font filename is correct, just doesn't display correctly, even when refreshing, unless I press the 'Embed referenced fonts' and then refresh
Quote:
Originally Posted by kovidgoyal
There will eventually be an image editor where you can view, crop, rotate etc images.
|
Nice.
I was going to change the font-family name in the css [as above] (to 'Charis'), and I noticed that I can't actually edit anything with the keyboard - HTML or CSS
I can select text and drag it around or copy/paste, just can't use keyboard and alter/add anything.