Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3945: [boostbook] stylesheet font for code makes 1 and l indistinguishable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-18 15:20:48
#3945: [boostbook] stylesheet font for code makes 1 and l indistinguishable
----------------------------------------+-----------------------------------
Reporter: dan.pidcock@⦠| Owner: matias
Type: Feature Requests | Status: new
Milestone: Boost 1.43.0 | Component: Documentation
Version: Boost 1.42.0 | Severity: Problem
Keywords: |
----------------------------------------+-----------------------------------
Comment(by danio <dan.pidcock@â¦>):
I just looked into it a bit more and it's caused by the font size being
set to 9 point in .programlisting in boostbook.css.
The problem with this is that many fixed fonts have no difference between
1 and l at that size (at least on windows). All of Courier, Courier New,
Bitstream Vera Sans Mono have this issue. Using DejaVu Sans Mono or Lucida
Console are OK.
Internet explorer iS OK because it performs anti-aliasing and so the
characters can be distinguished.
A possible fix would be to set the font-family to something like DejaVu
Sans Mono, Lucida Console. On other platforms where these fonts aren't
available it should fall back to the default fixed font.
I can try viewing these pages on Linux later to see how they are affected.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3945#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC