diff --git a/README.md b/README.md index d30c740..546e6ee 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Dependency ---------------------------- * libpoppler with xpdf header >= 0.20.2 * boost c++ library (format, program options, gil) -* fontforge **Please use [my modified version](http://github.com/coolwanglu/fontforge) before the bugs are fixed** +* fontforge **Please use [the lastest version](https://github.com/fontforge/fontforge)** HOW TO COMPILE ---------------------------- diff --git a/src/Consts.cc b/src/Consts.cc index 07abc62..b4e3785 100644 --- a/src/Consts.cc +++ b/src/Consts.cc @@ -30,8 +30,8 @@ const std::string HTML_HEAD = "\n\ overflow:hidden;\ display:none;\ }\ -.p > .l {\ - position:absolute; \ +.p > .l {\ + position:absolute;\ white-space:pre;\ }\ .l > .w {\ @@ -44,6 +44,9 @@ const std::string HTML_HEAD = "\n\ ::-moz-selection{\ background: rgba(168,209,255,0.5);\ }\ +.p > .i {\ + position:absolute;\ +}\ \