View Single Post
Old 10-18-2021, 07:34 AM   #4
Kittybriton
Member
Kittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchforkKittybriton can load mercury with a pitchfork
 
Kittybriton's Avatar
 
Posts: 15
Karma: 48138
Join Date: Aug 2012
Device: FBReader, Cool Reader and Aldiko (Android Tablet)
Question What am I missing?

You know how it is; you spend hours working on the same problem and after a while you just can't see minor differences any more.

BookStyle.css contains (among other things):
Code:
@font-face {
	font-family: "neumes"
	src: url(../Fonts/neumes-Regular.ttf);
	}

@font-face { 
	font-family: "Tef265"; 
	src: url(../Fonts/tef265.ttf);
	}

@font-face {
	font-family: "Garamond", Garamond, courier;
	src: url(../Fonts/Garamond.ttf);
	}

font-family: 300px "Garamond", 300px Garamond, courier;
In each chapter <head> section:
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Micrologus</title>
	<link href="../Styles/BookStyle.css" rel="stylesheet" type="text/css"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
Screenshot showing embedded fonts:
Click image for larger version

Name:	screenshot.png
Views:	508
Size:	35.9 KB
ID:	189684

Of the fonts, I have tried both otf (changing the stylesheet to reflect the exact name, upper and lower case) and ttf (ditto) but:
Garamond remains stubbornly Times New Roman and
neumes-Regular remains in the original version instead of the updated version.

Possibly of interest, I have not added neumes-Regular to my system fonts, so it is only accessible from the embedded fonts. Yes, it displays, but it displays an older version, before editing and revising to include further glyphs. And the glyphs that it does display do not reflect more recent changes.

Last edited by Kittybriton; 10-18-2021 at 07:46 AM.
Kittybriton is offline   Reply With Quote