I haven't used the OIIOTool flavor of adding text (usually its just done in python), but FWIW, I've found that if you just use 'arial' ImageBufAlgo will find the font and render it ok.
From: Oiio-dev <oiio-dev-boun...@lists.openimageio.org> On Behalf Of Larry Gritz Sent: Tuesday, September 14, 2021 10:00 AM To: OpenImageIO dev list <oiio-dev@lists.openimageio.org> Subject: Re: [Oiio-dev] oiiotool --text:font Oh boy, that's tricky. The ':' separates options, but in this case, it's part of the filename. By any chance, does this work? --text:font=/C/Windows/Fonts/Arial.tff ?? If not, I'll brew something up for you to fix. This is an unintended limitation. On Sep 14, 2021, at 8:57 AM, Steven Caron <car...@gmail.com<mailto:car...@gmail.com>> wrote: Hi Again! I can't seem to set the font option of the --text command. It doesn't seem to like my windows drive syntax with a colon. I think the parser is expecting another option/modifier. Example... oiiotool in.exr --text:font=C:/Windows/Fonts/Arial.ttf test -o out.exr oiiotool ERROR: text : Could not set font face to "C" I tried wrapping the path in quotes without luck. Thanks, Steven _______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org<mailto:Oiio-dev@lists.openimageio.org> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openimageio.org_listinfo.cgi_oiio-2Ddev-2Dopenimageio.org&d=DwQFAg&c=RKDswobrOGdp5vDCbl5XjxW8HqrsRSr80dGTvu3rE9Q&r=tQiBwrZewsSf_IBuvm1YFdww6ZCWQXpKnQkEmS1jaH4&m=JtR2GTCDjpWn6BCCGBygZ2sB3tEZ4wJQNsIqbLqkG0g&s=cE2CcfXjLD3p76KeR_NC3jNf2W64CU6XTgavqEq1maI&e=> -- Larry Gritz l...@larrygritz.com<mailto:l...@larrygritz.com>
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org