1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:07:34 +00:00

LibPDF: Handle the TJ graphical operator

This commit is contained in:
Matthew Olsson 2021-05-27 14:53:10 -07:00 committed by Ali Mohammad Pur
parent 47531619e3
commit c142dadbe8
2 changed files with 22 additions and 4 deletions

View file

@ -94,7 +94,7 @@ private:
void set_graphics_state_from_dict(NonnullRefPtr<DictObject>);
// shift is the manual advance given in the TJ command array
void show_text(const String&, int shift = 0);
void show_text(const String&, float shift = 0.0f);
RefPtr<ColorSpace> get_color_space(const Value&);
ALWAYS_INLINE const GraphicsState& state() const { return m_graphics_state_stack.last(); }