It's a bit more than that. The base directories it looks in are:
the directories listed in env variable $OPENIMAGEIO_FONTS (':' separated list of directories) any directory in the following environment variables: $HOME $SystemRoot $OpenImageIO_ROOT the directories /Library c:/Windows /usr /usr/local /opt/local the directory one level above wherever the running oiiiotool binary itself was located and then for each of those, it will check subdirectories below there that have the following names: .../fonts .../Fonts .../Library/Fonts .../share/fonts .../share/Fonts If you have fonts you want it to know about that aren't in ANY of those places it already knows about, the easiest thing to do is just add that directory to $OPENIMAGEIO_FONTS > On Oct 22, 2022, at 4:22 PM, Nicholas Yue <yue.nicho...@gmail.com> wrote: > > Apologies for the noise. Whatever is in the fonts subdirectory is what it has > access to. > > Regards > > On Sat, 22 Oct 2022 at 16:18, Nicholas Yue <yue.nicho...@gmail.com > <mailto:yue.nicho...@gmail.com>> wrote: > Hi, > > I have access to a pre-built oiiotool > > Is there a way to list/find the available fonts that I can use with the > --text options ? > > Cheers > -- > Nicholas Yue > https://www.linkedin.com/in/nicholasyue/ > <https://www.linkedin.com/in/nicholasyue/> > > > -- > Nicholas Yue > https://www.linkedin.com/in/nicholasyue/ > <https://www.linkedin.com/in/nicholasyue/> > > On Sat, 22 Oct 2022 at 16:18, Nicholas Yue <yue.nicho...@gmail.com > <mailto:yue.nicho...@gmail.com>> wrote: > Hi, > > I have access to a pre-built oiiotool > > Is there a way to list/find the available fonts that I can use with the > --text options ? > > Cheers > -- > Nicholas Yue > https://www.linkedin.com/in/nicholasyue/ > <https://www.linkedin.com/in/nicholasyue/> > > > -- > Nicholas Yue > https://www.linkedin.com/in/nicholasyue/ > <https://www.linkedin.com/in/nicholasyue/> > _______________________________________________ > Oiio-dev mailing list > Oiio-dev@lists.openimageio.org > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz l...@larrygritz.com
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org