Added missing fractions of basic kerning offsets

This commit is contained in:
Willem Cazander 2025-01-20 04:06:25 +01:00
parent 7135a62ca3
commit 0639949dca
2 changed files with 25 additions and 10 deletions

View file

@ -30,11 +30,6 @@ public enum FourCornerX00PetitVideCoinCarneFrapperRetrait {
NONE, NONE,
CENTER_10,
CENTER_20,
CENTER_30,
CENTER_40,
LEFT_10, LEFT_10,
LEFT_20, LEFT_20,
LEFT_30, LEFT_30,
@ -44,6 +39,26 @@ public enum FourCornerX00PetitVideCoinCarneFrapperRetrait {
RIGHT_20, RIGHT_20,
RIGHT_30, RIGHT_30,
RIGHT_40, RIGHT_40,
BOTH_L10_R10,
BOTH_L10_R20,
BOTH_L10_R30,
BOTH_L10_R40,
BOTH_L20_R10,
BOTH_L20_R20,
BOTH_L20_R30,
BOTH_L20_R40,
BOTH_L30_R10,
BOTH_L30_R20,
BOTH_L30_R30,
BOTH_L30_R40,
BOTH_L40_R10,
BOTH_L40_R20,
BOTH_L40_R30,
BOTH_L40_R40,
; ;
private FourCornerX00PetitVideCoinCarneFrapperRetrait() { private FourCornerX00PetitVideCoinCarneFrapperRetrait() {

View file

@ -150,13 +150,13 @@ public enum FCDotCDC1604DashP6 implements FourCornerX00PetitColleZero33P8, FourC
public FourCornerX00PetitVideCoinCarneFrapper petitVideCoinCarneFrapper() { public FourCornerX00PetitVideCoinCarneFrapper petitVideCoinCarneFrapper() {
// TODO: Add kerning for symbols too // TODO: Add kerning for symbols too
if (this == NX01_A) { if (this == NX01_A) {
return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyTop(FourCornerX00PetitVideCoinCarneFrapperRetrait.CENTER_20); return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyTop(FourCornerX00PetitVideCoinCarneFrapperRetrait.BOTH_L20_R20);
} }
if (this == NX06_F) { if (this == NX06_F) {
return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.RIGHT_10); return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.RIGHT_10);
} }
if (this == NX09_I) { if (this == NX09_I) {
return FourCornerX00PetitVideCoinCarneFrapper.valueForQuad(FourCornerX00PetitVideCoinCarneFrapperRetrait.CENTER_10, FourCornerX00PetitVideCoinCarneFrapperRetrait.CENTER_10); return FourCornerX00PetitVideCoinCarneFrapper.valueForQuad(FourCornerX00PetitVideCoinCarneFrapperRetrait.BOTH_L10_R10, FourCornerX00PetitVideCoinCarneFrapperRetrait.BOTH_L10_R10);
} }
if (this == NX10_J) { if (this == NX10_J) {
return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyTop(FourCornerX00PetitVideCoinCarneFrapperRetrait.LEFT_10); return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyTop(FourCornerX00PetitVideCoinCarneFrapperRetrait.LEFT_10);
@ -168,13 +168,13 @@ public enum FCDotCDC1604DashP6 implements FourCornerX00PetitColleZero33P8, FourC
return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.RIGHT_10); return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.RIGHT_10);
} }
if (this == NX20_T) { if (this == NX20_T) {
return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.CENTER_20); return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.BOTH_L20_R20);
} }
if (this == NX22_V) { if (this == NX22_V) {
return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.CENTER_20); return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.BOTH_L20_R20);
} }
if (this == NX25_Y) { if (this == NX25_Y) {
return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.CENTER_20); return FourCornerX00PetitVideCoinCarneFrapper.valueOnlyBottom(FourCornerX00PetitVideCoinCarneFrapperRetrait.BOTH_L20_R20);
} }
return FourCornerX00PetitVideCoinCarneFrapper.valueForNone(); return FourCornerX00PetitVideCoinCarneFrapper.valueForNone();
} }