mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
LibPDF: Handle the TJ graphical operator
This commit is contained in:
parent
47531619e3
commit
c142dadbe8
Notes:
sideshowbarker
2024-07-18 12:20:56 +09:00
Author: https://github.com/mattco98
Commit: c142dadbe8
Pull-request: https://github.com/SerenityOS/serenity/pull/7675
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/alimpfard
2 changed files with 22 additions and 4 deletions
|
@ -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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue