Skip to content

Commit

Permalink
Remove courier sizing hack (Issue #309)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Aug 31, 2018
1 parent b2744c9 commit dd7790a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changes in HTMLDOC v1.9.4

- Inline fixed-width text is no longer reduced in size automatically
(Issue #309)
- Optimized initialization of font width data (Issue #334)


Expand Down
4 changes: 1 addition & 3 deletions htmldoc/htmllib.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* HTML parsing routines for HTMLDOC, a HTML document processing program.
*
* Copyright 2011-2017 by Michael R Sweet.
* Copyright 2011-2018 by Michael R Sweet.
* Copyright 1997-2010 by Easy Software Products. All rights reserved.
*
* This program is free software. Distribution and use rights are outlined in
Expand Down Expand Up @@ -1456,8 +1456,6 @@ htmlReadFile(tree_t *parent, // I - Parent tree entry

t->typeface = _htmlBodyFont >= TYPE_MONOSPACE ? TYPE_MONOSPACE
: TYPE_COURIER;
if (t->size > 0 && t->typeface == TYPE_COURIER)
t->size --;

descend = 1;
break;
Expand Down

0 comments on commit dd7790a

Please sign in to comment.