GET api/Fonts?family={family}&platform={platform}&pageIndex={pageIndex}&itemsPerPage={itemsPerPage}

Use this method to get the list of all system fonts that can be potentially used for your application. Fonts are associated to a platform/device kind; you can limit the amount of fonts returned (also duplicates) if you send the appropriate platform. example of existing platforms/device kind are: iphone, ipad,android

Request Information

URI Parameters

NameDescriptionTypeAdditional information
family

string

None.

platform

Optional platform/device kind, defaults to iPhone (lowercased).

string

Default value is iphone

pageIndex

Page index to return.

integer

Default value is 0

itemsPerPage

Items per page to return. Default value is 20.

integer

Default value is 20

Body Parameters

None.

Response Information

Resource Description

Returns a list of system fonts that can be associated to an application optionally filtered by platform, and/or font family.

Collection of SystemFont
NameDescriptionTypeAdditional information
id

System font unique identifier.

string

None.

family

string

None.

name

Font Name (Face Name), note that this is the actual font face name, and is used in code to reference the font.

string

None.

sizeList

A comma delimited list of supported font sizes. (These are size in points not pixels)

string

None.

platform

Platform or Device Kind for which this font was created.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "family": "sample string 2",
    "name": "sample string 3",
    "sizeList": "sample string 4",
    "platform": "sample string 5"
  },
  {
    "id": "sample string 1",
    "family": "sample string 2",
    "name": "sample string 3",
    "sizeList": "sample string 4",
    "platform": "sample string 5"
  }
]