Loading some fonts, in this case tested with the Google fonts Roboto and Noto Sans, is not possible with the package. This is due to problems in the fontnameinfo.tcl file, which is unable to parse the required information from the font files.
Additional complications arise with these fonts as they are split into multiple separate files. Loading the fonts with extrafont::core::load works just fine, but only one weight can be loaded at the same time. This can be avoided by merging the different files into a single file using fonttools.
If fonttools is already added as a dependency to make the package work with many different fonts, a rewrite of the Tcl files into Python seems appropriate to make the package more maintainable.
Loading some fonts, in this case tested with the Google fonts
RobotoandNoto Sans, is not possible with the package. This is due to problems in thefontnameinfo.tclfile, which is unable to parse the required information from the font files.Additional complications arise with these fonts as they are split into multiple separate files. Loading the fonts with
extrafont::core::loadworks just fine, but only one weight can be loaded at the same time. This can be avoided by merging the different files into a single file usingfonttools.If
fonttoolsis already added as a dependency to make the package work with many different fonts, a rewrite of theTclfiles into Python seems appropriate to make the package more maintainable.