Skip to content

Commit

Permalink
fixup! fixup! fixup! Align on next-transform-font
Browse files Browse the repository at this point in the history
  • Loading branch information
wbinnssmith committed Mar 15, 2023
1 parent 9231dc3 commit b183d6c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/font/src/local/get-fallback-metrics-from-font-file.ts
Expand Up @@ -80,17 +80,6 @@ export function getFallbackMetricsFromFontFile(
const azAvgWidth = calcAverageWidth(font)
const { ascent, descent, lineGap, unitsPerEm } = font

console.log(
'ascent',
ascent,
'descent',
descent,
'lineGap',
lineGap,
'unitsPerEm',
unitsPerEm
)

const fallbackFontAvgWidth = fallbackFont.azAvgWidth / fallbackFont.unitsPerEm
let sizeAdjust = azAvgWidth
? azAvgWidth / unitsPerEm / fallbackFontAvgWidth
Expand Down

0 comments on commit b183d6c

Please sign in to comment.