1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00: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:
Nico Weber 2023-10-20 11:57:37 -04:00 committed by Tim Flynn
parent 78dea9500f
commit 9442782881

View file

@ -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)
{