Follow-up Comment #2, bug #68789 (group groff): This commit is cued up on my development branch awaiting end of code freeze:-
commit 0d3373446f4e6e61adae2ddb3cb592ca75be02e6 Author: Deri James <[email protected]> Date: Sat Oct 17 21:07:09 2026 +0100 [gropdf]: Allow non ascii characters in image filenames * src/devices/gropdf/gropdf.pl (do_x): Allow \[uXXXX] characters to be passed in image filenames. * src/devices/gropdf/gropdf.1.man: document it. Fixes <https://savannah.gnu.org/bugs/index.php?68789>. Thanks to G. Branden Robinson for the suggestion. diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man index ce70ca894..15569d836 100644 --- a/src/devices/gropdf/gropdf.1.man +++ b/src/devices/gropdf/gropdf.1.man @@ -1454,9 +1454,11 @@ of desired .I width and .I height -(if -.I height +(if either of them is missing or zero then it is scaled proportionally). +If +.I file +contains non-latin1 characters remember to run preconv. . If .I alignment diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl index 7b8c54690..f4504eb7f 100644 --- a/src/devices/gropdf/gropdf.pl +++ b/src/devices/gropdf/gropdf.pl @@ -1696,7 +1696,7 @@ sub do_x } elsif (lc($xprm[1]) eq 'pdfpic' or lc($xprm[1]) eq 'inline') { - my $fil=$xprm[2]; + my $fil=URIName($xprm[2]); my $flag=uc($xprm[3]||'-L'); my $wid=GetPoints($xprm[4])||-1; my $hgt=GetPoints($xprm[5]||-1); _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?68789> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature
