MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Sigil supports outline fonts, Antiqua Ho for example? (https://www.mobileread.com/forums/showthread.php?t=322862)

User_Z 09-09-2019 07:14 AM

Sigil supports outline fonts, Antiqua Ho for example?
 
Hello.

Question: Sigil supports outline fonts, Antiqua Ho for example?

http://static2.keep4u.ru/2019/09/09/...dd7b941.md.png

Vroni 09-09-2019 07:47 AM

Outline fonts are not a matter of Sigil, but the rendering Software on the used devices.

User_Z 09-09-2019 07:56 AM

Quote:

Originally Posted by Vroni (Post 3887851)
Outline fonts are not a matter of Sigil, but the rendering Software on the used devices.

Then why doesn't Sigil display this font in the "Preview" on my computer?

Vroni 09-09-2019 08:07 AM

Because the font is currupt, or you didnt applied all necessary steps. Its nnot always the software which is faulty/unable to accomplish the task. I never had a problem using fonts even with auto-ligatures or swashes. But of course the reading app.

Maybe it would be a good idea to start a thread on its own as my glasbowl indicates not a problem with a specific version but a general problem.

User_Z 09-09-2019 08:11 AM

Vroni,

Thanks.

theducks 09-09-2019 11:25 AM

Moderator Notice
did it for you


It is probably because you did not embed the font with a coresponding @font-face in the css

If you don't embed, you depend on the font being supported by the device

User_Z 09-09-2019 12:07 PM

Thanks and the Moderator, too.

Here is part of my css file:
Code:

@font-face {
        font-family: "FontContur";
        font-style: normal;
        font-weight: normal;
        src: url(../Fonts/AntiquaHo-R.ttf);
}

p.topic-contur {
 font-family: "FontContur";
 font-size: 14pt;
 padding-left: 2em;
 padding-right: 2em;
}

With other fonts everything works everywhere:
Code:

@font-face {
        font-family: "FontForTOC";
        font-style: normal;
        font-weight: normal;
        src: url(../Fonts/RobotoSlab-regular.ttf);
}

Windows and Word, for example, render correctly:
http://static2.keep4u.ru/2019/09/09/...c9fba0a.md.png

theducks 09-09-2019 12:17 PM

:chinscratch:
I suspect that the (internal) font-metrics don't match the @font (font style?)

(not even close to being an expert :o )
I've had my device K4nt have issues like this, but never Sigil, Calibre and even KforPC did not. :rolleyes:

elibrarian 09-09-2019 04:12 PM

2 Attachment(s)
Sigil has no problems showing the font. I enclose a working epub: Attachment 173352.

Screendump: Attachment 173354

The stupid question is: have you linked the stylesheet to the xhtml-page in question?

Regards,

Kim

User_Z 09-10-2019 04:32 AM

Hello.

Special thanks to theducks, elibrarian.

It was all a font file, it was broken or damaged.

elibrarian, where you managed to get this file? I specially tried about 10 files in this font from different files. Only yours works.

elibrarian 09-10-2019 04:54 AM

Quote:

Originally Posted by User_Z (Post 3888147)
Hello.

Special thanks to theducks, elibrarian.

It was all a font file, it was broken or damaged.

elibrarian, where you managed to get this file? I specially tried about 10 files in this font from different files. Only yours works.

I just searched the net for "antiqua-ho.ttf" and grabbed the first, the best, think it was from allfont.net (I have no idea of the legitimity of this site, but since it was only for demonstrational purposes …)

I had the font opened in HighLogic's FontCreator to check it, but just took a look at it, didn't save it from there.


Regards,

Kim

Hitch 09-10-2019 11:59 AM

Quote:

Originally Posted by elibrarian (Post 3888153)
I just searched the net for "antiqua-ho.ttf" and grabbed the first, the best, think it was from allfont.net (I have no idea of the legitimity of this site, but since it was only for demonstrational purposes …)

I had the font opened in HighLogic's FontCreator to check it, but just took a look at it, didn't save it from there.


Regards,

Kim

FWIW, speaking of corrupted font metadata, and Font Creator, I have used FC to "fix" bogus font meta/type info. For example, Cufon fonts puts out lot of worthless types, like their Helvetica Neue face, in which, if you install it, you'll find that your computer can't tell what the hell is what. Which face is which--more than two of their fonts share the same font type designation. (I was experimenting with the cursed things--that will teach me--and I ended up with all sorts of SAS showing up in italic. Lovely experience--not! But it did "learn me" to use FC to fix font types!).

So, sports fans, if you find yourself in my boat--adrift, with weird-ass fonts wreaking havoc--FC is a terrific tool for tweaking that stuff. Not affiliated, other than as a user.

Hitch


All times are GMT -4. The time now is 06:22 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.