Skip to content

Commit

Permalink
fix mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-spare committed May 8, 2024
1 parent dca7a09 commit e5f9602
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion packages/examples/src/fontFamilyFallback/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const MyDoc = () => {
</Text>

<Text style={{ fontSize: 10 }}>
The following is multiple font families, weights, and styles all on the
The following are multiple font families, weights, and styles all on the
same line
</Text>
<Text style={{ fontFamily: 'Roboto' }}>
Expand Down
5 changes: 0 additions & 5 deletions packages/layout/src/text/fontSubstitution.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ const fontSubstitution =
typeof font === 'string' ? getOrCreateFont(font) : font,
);

console.log(
'defaultFontGlyphCount',
defaultFont[0].src?.font?.attributes.CharacterSet,
);

if (string.length === 0) {
res.push({ start: 0, end: 0, attributes: { font: defaultFont } });
break;
Expand Down

0 comments on commit e5f9602

Please sign in to comment.