mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
LibPDF: Implement text_next_line_show_string_set_spacing
Not used terribly often, but e.g. used in 000333.pdf page 17 in stillhq.com-pdfdb.
This commit is contained in:
parent
78dea9500f
commit
9442782881
Notes:
sideshowbarker
2024-07-17 02:39:10 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/9442782881 Pull-request: https://github.com/SerenityOS/serenity/pull/21517 Reviewed-by: https://github.com/ADKaster ✅
@ -507,7 +507,13 @@ RENDERER_HANDLER(text_next_line_show_string)
|
||||
return {};
|
||||
}
|
||||
|
||||
RENDERER_TODO(text_next_line_show_string_set_spacing)
|
||||
RENDERER_HANDLER(text_next_line_show_string_set_spacing)
|
||||
{
|
||||
TRY(handle_text_set_word_space(args.slice(0, 1)));
|
||||
TRY(handle_text_set_char_space(args.slice(1, 1)));
|
||||
TRY(handle_text_next_line_show_string(args.slice(2)));
|
||||
return {};
|
||||
}
|
||||
|
||||
RENDERER_HANDLER(text_show_string_array)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user