View Single Post
Old 04-16-2019, 05:03 AM   #1
Skydancer
Enthusiast
Skydancer began at the beginning.
 
Skydancer's Avatar
 
Posts: 30
Karma: 10
Join Date: Mar 2019
Location: Slovenia
Device: PocketBoot Inkpad 3
Small-caps support?

Does PocketBook InkPad3 support font-variant: small-caps; CSS property?

I have a few ePUB books that use this, but InkPad3 seems to ignore it. For example:

CSS:
Code:
h1 {
  font-family: serif;
  font-weight: bold;
  text-align: center;
  font-size: 2.2em;
  font-style: normal;
  text-transform: none;
  font-variant: small-caps;
  margin: 0;
}
h1.title3 {
  text-align: center;
  font-size: 2.8em;
  font-style: normal;
  text-transform: none;
  font-variant: small-caps;
  margin: 0;
}
p {
  font-variant: small-caps;
}
XHTML:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title></title>
<link href="../Styles/Style0001.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<h1 class="title3">Test Title 1 ("h1 .title3")</h1>
<h1>Test Title 2 (h1)</h1>
<p>Small Caps Text Body (p)</p>
</body>
</html>

Last edited by Skydancer; 04-16-2019 at 06:37 AM.
Skydancer is offline   Reply With Quote