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
Notes: sideshowbarker 2024-07-17 02:39:10 +09:00

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