This repository has been archived by the owner on Dec 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Limitations
Chris edited this page Sep 17, 2017
·
13 revisions
In PDF, different colors (or transparent) can be specified for outline and inside of text.
- WebKit supports text-stroke-color & text-fill-color. No problem.
- For Firefox, text-stroke-color may be simulated by drop shadows in 4 different directions
- But how about when fill-color is transparent?
- No need to mention IE...
Text in PDF may be partially clipped, or completely invisible due to being overlapped by another object (e.g. an image). But they may appear visible in the output of pdf2htmlEX. The reason is that currently pdf2htmlEX uses a single background image behind all the text. The --correct-text-visibility
partial solve this problem, but it may not work perfectly on all inputs.
Text go top-bottom, right-left
- HTML supports such fonts?
- How to position them in HTML?
- CSS rule
writing-mode
is not yet well supported.
- CSS rule
10.3pt text are usually rendered as 10pt text in web browsers, which often causes inaccuracy in the layout.
Possible solutions:
- Find the nearest fraction number (i.e different multiplier for different font sizes).
- See if the
text-rendering
CSS properties is useful.
Relevant links: