fender967
fender967

Reputation: 285

How many characters / glyphs can be assigned to webfonts?

I am using this web app for generating custom icon fonts: http://icomoon.io/app/#font

For the purpose of this question, I need to be able to assign each icon to a character that can be entered into html. So far I have used a-z, A-Z, 1-0(plus shifts), and then alt+1-alt+254 (for all of the remaining ones not used by the previous).

I have 404 icons the need to be represented and this leaves me about 70 short.

Are there other ways of inputting characters that I am missing?

Upvotes: 0

Views: 96

Answers (1)

James Donnelly
James Donnelly

Reputation: 128786

As deceze mentioned in his comment on your question, Private Use Areas are what should be used for custom symbols.

From the very first paragraph of the Wikipedia article about Private Use Areas:

In Unicode, the Private Use Areas are three ranges of code points (U+E000–U+F8FF in the BMP, and planes 15 and 16) that, by definition, will not be assigned characters by the Unicode Consortium. They are intentionally left undefined so that third parties may define their own characters without conflicting with Unicode Consortium assignments. Under the Unicode Stability Policy, the Private Use Areas will remain allocated for that purpose in all future Unicode versions.

You shouldn't overwrite existing Unicode characters. If your custom font failed to load for whatever reason it would fall back to a default (defined by your site or the browser). In this case, your webpage would be filled with random gibberish where the pre-existing Unicode characters you had overwritten are now displayed.

Upvotes: 2

Related Questions