mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
..
This commit is contained in:
parent
8b09338cad
commit
cb9a89d7b3
5
TODO
5
TODO
@ -4,10 +4,6 @@ Integrate splash/cairo
|
|||||||
native support for image
|
native support for image
|
||||||
native support for draw
|
native support for draw
|
||||||
|
|
||||||
about glyph width:
|
|
||||||
- IE
|
|
||||||
- stretching ratio might not be correct.. letter 'f'
|
|
||||||
|
|
||||||
draw non-orthogonal lines with CSS
|
draw non-orthogonal lines with CSS
|
||||||
|
|
||||||
create a glyph for ' ', if there is not in a font
|
create a glyph for ' ', if there is not in a font
|
||||||
@ -20,7 +16,6 @@ try harder finding glyph names (using fontforge) for CID Type 0
|
|||||||
rename single-html -> embed-font/image/css ...
|
rename single-html -> embed-font/image/css ...
|
||||||
|
|
||||||
merge sub/sup into one line
|
merge sub/sup into one line
|
||||||
bug found in baidu(ubuntu...)
|
|
||||||
precise link dest: zoom
|
precise link dest: zoom
|
||||||
|
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
|
|||||||
* Step 1
|
* Step 1
|
||||||
* dump the font file directly from the font descriptor and put the glyphs into the correct slots *
|
* dump the font file directly from the font descriptor and put the glyphs into the correct slots *
|
||||||
* for 8bit + nonTrueType
|
* for 8bit + nonTrueType
|
||||||
* re-encoding the font using a PostScript encoding list (glyph id <-> glpyh name)
|
* re-encoding the font by glyph names
|
||||||
*
|
*
|
||||||
* for 8bit + TrueType
|
* for 8bit + TrueType
|
||||||
* sort the glpyhs as the original order, and later will map GID (instead of char code) to Unicode
|
* sort the glpyhs as the original order, and later will map GID (instead of char code) to Unicode
|
||||||
@ -296,16 +296,15 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Step 2
|
* Step 2
|
||||||
* map charcode (or GID for CID truetype)
|
* - map charcode (or GID for CID truetype)
|
||||||
* generate an Consortium encoding file and let fontforge handle it.
|
|
||||||
*
|
*
|
||||||
* - Always map to Unicode for 8bit TrueType fonts and CID fonts
|
* -> Always map to Unicode for 8bit TrueType fonts and CID fonts
|
||||||
*
|
*
|
||||||
* - For 8bit nonTruetype fonts:
|
* -> For 8bit nonTruetype fonts:
|
||||||
* Try to calculate the correct Unicode value from the glyph names, unless param->always_apply_tounicode is set
|
* Try to calculate the correct Unicode value from the glyph names, when collision is detected in ToUnicode Map
|
||||||
*
|
*
|
||||||
*
|
* - Fill in the width_list, and set widths accordingly
|
||||||
* Also fill in the width_list, and set widths accordingly
|
* - Remove unused glyphs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user