View Single Post
Old 04-22-2013, 05:11 PM   #1
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,051
Karma: 4836606
Join Date: Dec 2010
Device: Kindle PW2
Question HTML5/CSS3 support in Sigil 7/Qt 5

Since Sigil 7.x is based on Qt 5, I assumed that it supports HTML5/CSS3 to the extent that it's supported by Webkit.
However, it seems that the unicode-range descriptor is being ignored by Sigil 7/Qt 5.

I used the following styles:

Code:
@font-face {
    font-family: myFirstFont;
    src: url(../Fonts/WallauRundgotisch-Heavy.ttf);
    unicode-range: U+41-5A;
}

div {
    font-family: myFirstFont;
}
which should apply the embedded blackletter font only to uppercase letters in the div section. However, in Book View, all letters were displayed in the blackletter font. Is this another Qt issue or is this behavior by design?
(Since my old Kindle 3 applied the embedded font correctly, I assume that the styles are OK.)
Attached Thumbnails
Click image for larger version

Name:	screenshot.JPG
Views:	84
Size:	92.4 KB
ID:	104804  
Attached Files
File Type: epub unicode_range.epub (29.5 KB, 39 views)
Doitsu is offline   Reply With Quote