Skip to content

Commit e971037

Browse files
resources: remove setCharacterSize functionality.
1 parent f09d81f commit e971037

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/resources/fonts.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,7 @@ const getTemplateAvailableFonts = (templateId) => {
3535
if (!desiredFont) {
3636
throw new FontNotFoundError(`Font with id: ${id} was not found.`)
3737
}
38-
return {
39-
...flattenFont(desiredFont),
40-
setCharacterSize: function (count) {
41-
this.characterSize = count
42-
43-
return this
44-
}
45-
}
38+
return flattenFont(desiredFont)
4639
}
4740

4841
return fonts

0 commit comments

Comments
 (0)