getGlyphCount.lua 424 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Get the number of glyphs stored in the font file.',
  3. description = 'Returns the number of glyphs stored in the font file.',
  4. arguments = {},
  5. returns = {
  6. count = {
  7. type = 'number',
  8. description = 'The number of glyphs stored in the font file.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'count' }
  15. }
  16. },
  17. related = {
  18. 'Rasterizer:hasGlyphs'
  19. }
  20. }