mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-07 18:30:34 +00:00
..
This commit is contained in:
parent
820f06d940
commit
225aa23dca
|
@ -263,28 +263,25 @@ class HTMLRenderer : public OutputDev
|
|||
bool all_changed;
|
||||
// current position
|
||||
double cur_tx, cur_ty; // real text position, in text coords
|
||||
bool text_pos_changed;
|
||||
|
||||
// font & size
|
||||
const FontInfo * cur_font_info;
|
||||
bool font_changed;
|
||||
// cur_font_size is as in GfxState,
|
||||
// font_size_manager saves the final font size used in HTML
|
||||
// cur_font_size and cur_text_tm are unscaled (the same as in PDF)
|
||||
double cur_font_size;
|
||||
|
||||
// transform matrix
|
||||
bool ctm_changed;
|
||||
bool text_mat_changed;
|
||||
// horizontal scaling
|
||||
bool hori_scale_changed;
|
||||
// this is CTM * TextMAT in PDF
|
||||
// [4] and [5] are ignored,
|
||||
// as we'll calculate the position of the origin separately
|
||||
double cur_text_tm[6]; // unscaled
|
||||
|
||||
// letter spacing
|
||||
bool text_pos_changed;
|
||||
bool font_changed;
|
||||
bool ctm_changed;
|
||||
bool text_mat_changed;
|
||||
bool hori_scale_changed;
|
||||
bool letter_space_changed;
|
||||
bool word_space_changed;
|
||||
bool rise_changed;
|
||||
|
||||
// font & size
|
||||
const FontInfo * cur_font_info;
|
||||
|
||||
// fill color
|
||||
long long cur_fill_color_id;
|
||||
|
@ -297,7 +294,7 @@ class HTMLRenderer : public OutputDev
|
|||
GfxRGB cur_stroke_color;
|
||||
bool cur_has_stroke;
|
||||
bool stroke_color_changed;
|
||||
bool rise_changed;
|
||||
|
||||
|
||||
// managers store values actually used in HTML (i.e. scaled)
|
||||
FontSizeManager font_size_manager;
|
||||
|
|
Loading…
Reference in New Issue
Block a user