Thread: Aura ONE "monospace" rendering
View Single Post
Old 11-05-2019, 04:20 AM   #1
PenguinCEO
Member Retired
PenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipediaPenguinCEO knows more than wikipedia
 
Posts: 61
Karma: 47166
Join Date: Sep 2018
Device: a lot
"monospace" rendering

I have a KA1

An ebook of mine has the following html code:

Code:
<div class="example">
<pre class="example">    --- ---      --- ---      --- ---
   |   |   |--&gt; |   |   |--&gt; |   |   |--&gt; nil
    --- ---      --- ---      --- ---
     |            |            |
     |            |            |
      --&gt; rose     --&gt; violet   --&gt; buttercup
</pre></div>
with the following css code

Code:
div.example {
  margin-left: 3.2em;
  font-family: monospace;
}
pre.example {
  font-family: monospace;
}
The book was made in epub format with the calibre editor and converted in kepub with calibre.

The above code is rendered exactly by the calibre viewer, as you can see in the images

Click image for larger version

Name:	img03.png
Views:	300
Size:	97.2 KB
ID:	174726

Click image for larger version

Name:	img04.png
Views:	254
Size:	76.0 KB
ID:	174727

but is poorly rendered by the aura one: as you can see the "monospace" attribute is lost

Click image for larger version

Name:	img01.jpg
Views:	986
Size:	61.1 KB
ID:	174724

Click image for larger version

Name:	img02.jpg
Views:	518
Size:	52.8 KB
ID:	174725

Is there something to do to solve this problem?

Last edited by PenguinCEO; 11-05-2019 at 07:06 AM.
PenguinCEO is offline   Reply With Quote