View Single Post
Old 11-27-2018, 08:11 AM   #1
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
Does ebook-viewer (of calibre) render fonts msbm correctly and how?

I compiled a tex code by tex4ebook, and it seems to me that the symbol ⊈ is not rendered correctly by ebook-viewer in calibre. I write a test code and use htlatex to compile it into html (see the code below), and load it with ebook-viewer. It seems to me that the piece of code

Code:
<span class="msbm-10">&#x2288; </span>
is not rendered correctly, seemingly a font configure problem. I changed the font from DejaVu Serif to something else, the problem remains.

However, firefox and FBReader render it properly. I wonder how to fix it. Thanks for suggestions.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title></title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<!-- html --> 
<meta name="src" content="test2.tex"> 
<link rel="stylesheet" type="text/css" href="test2.css"> 
</head><body 
>
<!--l. 7--><p class="noindent" >Given two sets <span 
class="cmmi-10">A,B </span>such that <span 
class="cmmi-10">A </span>is not a subset of <span 
class="cmmi-10">B</span>, i.e., <span 
class="cmmi-10">A </span><span 
class="cmsy-10">&#x2044;&#x2286; </span><span 
class="cmmi-10">B</span>, or <span 
class="cmmi-10">A </span><span 
class="msbm-10">&#x2288; </span><span 
class="cmmi-10">B</span>.
<!--l. 9--><p class="indent" >   Note that <span 
class="cmmi-10">x </span><span 
class="cmsy-10">&#x2044;&#x2243; </span><span 
class="cmmi-10">y</span>.
</body></html>
SuiVu1fa is offline   Reply With Quote