SVG font seems to be the right choice here because it uses XML. However it has been deprecated everywhere.
So is there an alternative (or an alternative format) for representing a long text which use ~70,000 glyphs. (the current font I’m interested in is currently in the ps format and installed on my system).

Or is it possible to make a single font family for storing multiple range of glyphs?
Please note there are other limitations that answers to this question might solve.

  • 2
    SVG hasnt been deprecated. It has ever been more used than today. Maybe you mean Flash? – joojaa Aug 22 '15 at 19:00
  • 1
    @joojaa : Yes, the format is not deprecated by the standard. However browsers are removing support. – user2284570 Aug 22 '15 at 19:29
  • Yes because they are moving to webtech. The biggest flaw of svg is too much of everything... Can yiu not use 2 separate webfonts? – joojaa Aug 22 '15 at 20:25
  • @joojaa for a single text on the same page? How? – user2284570 Aug 22 '15 at 20:32
  • 2
    Yes, this needs to be made clear: support for SVG fonts is not the same as SVG support in general. The former is being replaces with webfonts (which is good). The latter is still completely supported. As for your question, is it the font that has that many glyphs? Is the content you are showing actually require that many? – DA01 Aug 23 '15 at 2:25

I have not tried this myself, but you should be able to use two (or more) fonts, one that contained part of the glyphs, and another one with the rest.

So say you have FontA which has characters 1-30,000, and FontB, which has 30,001 to 70,000

You specify in your css a font stack:

body{
font-family: FontA, FontB, sans-serif;
}

And if a character is not found in FontA it will be set in FontB (source)

You can be even more specific and use the unicode-range css property to define what characters should come from which font.

  • Tried! some browsers like Opera or Chrome substitute characters from other font before using the next one. As the monospace factor is important the schema became far less readable. So this technique worth something but the fallback font should use the same family than the first one. – user2284570 Aug 28 '15 at 9:23

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.