Inkscape.org
Beyond the Basics Custom Font Glyphs
  1. #1
    crbrechin crbrechin @crbrechin

    I am trying to make a custom font so that my website is readable to a web-crawler while still being stylized.

    I want the glyphs "nte" to appear like this:

     

     

    Where elsewhere the "t" glyph would be regular. Because I want to be able to have my website read for SEO, I can't just substitute another character in for the "t" glyph because that would make the page unreadable. Currently my "nte" characters look like this:

    First of all, what is this even called? I have been trying to find the term for conditional glyphs in the search engine with no luck. Secondly, how should I go about accomplishing this in Inkscape?

    Thanks in advance!

  2. #2
    crbrechin crbrechin @crbrechin

    I have figured out a few more things. After sleeping on it, I have decided to write a jquery script for my site instead to modify the font. I just haven't decided how to make that distinction in my hmtl. But alas, 'tis for another forum..

     

    Comments are still welcome.

  3. #3
    Ellen Wasbø Ellen Wasbø @EllenWasbo

    It is called ligatures and it is easy to define for svg-fonts, but I've seen issues that ligatures have to be activated in css to make it work and different browsers might handle this differetly (I'm not up to date on this, I just know that I have seen issues that ligatures it not always working).

    From the SVG 1.1 definition

    unicode = "<string>"

    One or more Unicode characters indicating the sequence of Unicode characters which corresponds to this glyph. If a character is provided, then this glyph corresponds to the given Unicode character. If multiple characters are provided, then this glyph corresponds to the given sequence of Unicode characters. One use of a sequence of characters is ligatures. For example, if unicode="ffl", then the given glyph will be used to render the sequence of characters "f", "f", and "l".