Comments (5)
from fbreader.
I change the font size in: Look and Feel Preferences -> Style
- this text section has font style Basic which is used for code. I can change this font size
- this text section is Standard Paragraph used for the reading content. I cannot change this font size. But I can change the font type (e.g. from arial to courier)
As you can see, different formatted text in between an standard paragraph can also be changed.
Btw: changing the system language has no effect to the Preference Menu Widgets :-( only to the drop down menu
from fbreader.
from fbreader.
its epub format.
The book is copyright protected, so I can not send the book.
But the error occurs on several different epub books.
I can provide style sheet information.
Example format which is not recognized:
<h2 class="title"><a id="ch13lvl2sec560"></a>How it works...</h2>
Text in a simple <p>
tag or without any tag
What is recognized:
Text in a code tag
<code class="literal">compile()</code>
The style information for the example image:
class="literal">platform</code> module. The local context is where new variables will be created:<pre class="programlisting"> globals = {'__builtins__':__builtins__,
'Path': Path,
'platform': platform}
locals = {}
exec(code, globals, locals)
return locals['Configuration']
</pre></li>
<li class="listitem">This returns only the defined <code class="literal">Configuration</code> class from the locals which are set by the executed module. Any other variables will be ignored.</li>
</ol>
</div>
</div>
<div class="section" title="How it works..."><div class="titlepage"><div><div><h2 class="title"><a id="ch13lvl2sec560"></a>How it works...</h2>
</div>
</div>
</div>
<p>The details of the Python language—syntax and semantics—are embodied in the <code class="literal">compile()</code> and <code class="literal">exec()</code> functions. The <code class="literal">exec()</code> function reflects the way Python handles global and local variables. There are two namespaces provided to this function. The global <code class="literal">namespace</code> instance includes <code class="literal">__builtins__</code> plus a class and module that might be used in the file.</p>
<p>The local variable namespace will have the new class created in it. This namespace has a <code class="literal">__dict__</code> attribute that makes it accessible via dictionary methods. Because of this, we can then extract the class by name. The function returns the class object for use throughout the application.</p>
<p>We can put any kind of object into the attributes of a class. Our example showed mapping objects. There's no limitation on what can be done when creating attributes at the class level.</p>
<p>We can have complex calculations within the <code class="literal">class</code> statement. We can use this to create attributes which are derived from other attributes. We can execute any kind of statement, including <code class="literal">if</code> statements and <code class="literal">for</code> statements to create attribute values.</p>
</div>
<div class="section" title="There's more..."><div class="titlepage"><div><div><h2 class="title"><a id="ch13lvl2sec561"></a>There's more...</h2>
When opening the book with Sigil everything works fine ;-)
from fbreader.
from fbreader.
Related Issues (20)
- Search tool – space not supported HOT 2
- Build error when upgrading from curl 7.61.1 -> 7.62.0 HOT 1
- Italic rendered as normal text in epub
- crash
- Custom book repository in the Linux application
- Book network suddenly stopped working on older android devices. [SOLUTION INCLUDED] HOT 2
- can't install FBReader 0.99.4 on Ubuntu 20.04 HOT 5
- Feature request. Start search with enter key HOT 3
- Arm64 build is crashing upon opening on Debian
- When will windows version get an update
- Make/Compile Failure in formats/doc HOT 3
- libqt4-network "dependency not satisfiable" in Linux Mint Ulyana/Focal HOT 3
- Lookup error: undefined symbol
- customize icons shown in the top menu HOT 1
- FBReader crashing on OSX (M1)
- [enhancement],linux, adding my library books.fbreader.org HOT 1
- [enhancement],linux, use fonts, icons, colors, theme of the system
- linux, can't add a book from my FBreader library via my gdrive connection
- [enhancemement],linux, adding books from my local Calibre library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbreader.