Ambiguity in font tags
dr-scsi opened this issue · 4 comments
Hi all,
first of all, many thanks for developing and providing these fonts. I downloaded the latest release source-serif-4.004.zip
and ran autoinst
tool on the OTF-fonts. In case you're not familiar with this tool, it produces all the files you need to use OTF-fonts with traditional TeX engines like pdfTeX.
The program doesn't succeed with this message:
[ERROR] I've parsed both SourceSerif4-Black.otf
and SourceSerif4SmText-Black.otf as
Family: SourceSerifFour
Weight: black
Width: regular
Shape: roman
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-BlackIt.otf
and SourceSerif4SmText-BlackIt.otf as
Family: SourceSerifFour
Weight: black
Width: regular
Shape: italic
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-Bold.otf
and SourceSerif4SmText-Bold.otf as
Family: SourceSerifFour
Weight: bold
Width: regular
Shape: roman
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-BoldIt.otf
and SourceSerif4SmText-BoldIt.otf as
Family: SourceSerifFour
Weight: bold
Width: regular
Shape: italic
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-ExtraLight.otf
and SourceSerif4SmText-ExtraLight.otf as
Family: SourceSerifFour
Weight: extralight
Width: regular
Shape: roman
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-ExtraLightIt.otf
and SourceSerif4SmText-ExtraLightIt.otf as
Family: SourceSerifFour
Weight: extralight
Width: regular
Shape: italic
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-It.otf
and SourceSerif4SmText-It.otf as
Family: SourceSerifFour
Weight: regular
Width: regular
Shape: italic
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-Light.otf
and SourceSerif4SmText-Light.otf as
Family: SourceSerifFour
Weight: light
Width: regular
Shape: roman
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-LightIt.otf
and SourceSerif4SmText-LightIt.otf as
Family: SourceSerifFour
Weight: light
Width: regular
Shape: italic
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-Regular.otf
and SourceSerif4SmText-Regular.otf as
Family: SourceSerifFour
Weight: regular
Width: regular
Shape: roman
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-Semibold.otf
and SourceSerif4SmText-Semibold.otf as
Family: SourceSerifFour
Weight: semibold
Width: regular
Shape: roman
Size: 0-0
Smallcaps: 0
[ERROR] I've parsed both SourceSerif4-SemiboldIt.otf
and SourceSerif4SmText-SemiboldIt.otf as
Family: SourceSerifFour
Weight: semibold
Width: regular
Shape: italic
Size: 0-0
Smallcaps: 0
[ERROR] I failed to parse all fonts in a unique way;
presumably some fonts have unusual widths, weights or shapes.
Try one of the following:
- Run 'autoinst' on a smaller set of fonts,
omitting the ones that weren't parsed correctly;
- Add the missing widths, weights or shapes to the tables
'WIDTH', 'WEIGHT' or 'SHAPE' in the source code;
The fonts are not unambiguous based on the fonts tags (I'm not sure if tag it the correct word in this case). It there a chance to update the files in order to make them unique based on provided information per font?
With “font tags” I assume you mean the style name, such as Bold Italic?
The typeface family is split up into various sub-families, such Source Serif 4 Caption, Source Serif 4 Text (name omitted), Source Serif 4 Display, etc.
Can your parsing workflow take this into account?
With tags, I meant the key value pairs like Weight=semibold
. I think I will drop the author of autoinst
a line if he can also have a look at this issue. After your comment, I ran otfinfo -a SourceSerif4SmText-Regular.otf
to get the family name and the program returns Source Serif 4 SmText
. So maybe the problem is somewhere else. I will report back. Thanks.
I contacted the author of autoinst
and it seems this issue is related to it and not to the fonts. I close this issue. Many thanks for your efforts.
Thanks for the note – no problem :-)