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
coolwanglu edited this page Apr 29, 2013
·
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...
In PDF, a path may be used to limit the region of display, which is not supported in HTML/CSS
- At least detect if the text is visible, if not, don't show it in HTML (Working in progress).
- When the clipping path is a rectangle, may use a to simulate, slow ?
- To render them in the background image, and create a hidden text layer on top of it (like PDF.js)
- How to dump to out
- Fontforge seems to support type 3 fonts
- HTML supports such fonts?
- How to position them in HTML?
Glyphs in a type 3 font is actually a mini-PDF.
Text go top-down, right-left, instead of left-right top-down.