AFDKO, error occured on microsoft font validator

andi aw masry's picture

Dear buddies

Some time ago I had tested trying to build a font using makeotf-afdko
(Font, Version 1.002;PS 1.001;hotconv 1.0.57;makeotf.lib2.0.21895 DEVELOPMENT)
All of supporting data required has been edited from the source file example Adobe "minionpro". The process of generating fonts was successfully and font can be used at least in windows xp. But after I checked this font microsoft font validator, there are some pretty annoying error messages as follows:

into file: feature size
actually I haven't yet understand about the values of parameter, So I put them with random value, and It is succesfully generating error into Microsoft Font Validator (MFV) reviews :)


feature size {
parameters 150 3 65 84;
sizemenuname "Regular";
sizemenuname 1 "Italic";
} size;

The MFV review as follow:

into file: feature family
I put these:

feature ss01 { # Stylistic Set 1
# Latin
featureNames {
name 3 "Windows descriptive name for stylistic set 01";
name 1 "Mac descriptive name for stylistic set 01";
name 3 1 0x40c "Windows descriptive name for stylistic set 01";
name 1 0 1 "Mac descriptive name for stylistic set 01";
};
lookup ss012 {
sub @salt1' [@allnum @all_lc @liga_lc @QUOTE @acute] by @salt2;
} ss012;
language AZE ; # Azeri ................
lookup ss012;
} ss01;

The MFV review as follow:

into file "features":
I put these:

table OS/2 {
TypoAscender 750; # Top of Ascenders
TypoDescender -250; # TypoAscender UPM
XHeight 500;
CapHeight 680;
WeightClass 700; # Bold
Vendor "camp";
FSType 8; # Editable embedding
Panose 2 0 8 5 2 0 0 9 0 4;
} OS/2;

(note: Previously I put the information "width 3;" below "CapHeight 680;", but failed to read by makeotf-afdko, so I treat with suspicion that afdko will give value automatically)

and here is the MFV error:

Can someone enlightening me?. Thank you in advance for your help and answers slightest.

Best Regards
Andi aw. masry

John Hudson's picture

I can comment on the last of these. Font Validator has not been updated since the version of the OT spec in which the most recent OS/2 version number was 3, so it simply doesn't recognise the version 4 string that the latest AFDKO uses as default.

JanekZ's picture

I think FontValidator does not understand human readable names for ss01-ss20. (To be honest none application does)
BTW there is newer AFDKO see: http://blogs.adobe.com/typblography/2012/09/new-afdko-version.html

andi aw masry's picture

Thank you !!
Apparently I missed the plane :)

on the feature size, can anyone explain the basis for determining parameters such as:
"parameters 150 3 65 84"
As I was getting at above, the numbers I wrote with random parameter, but it turns out makeotf not give an error message. So it seems fine. But I want to make sure to count or basics of logic determining these figures. Can anyone help?
Bst regards

Syndicate content Syndicate content