• My site uses the twenty-sixteen theme, which uses the Montserrat font for the site title. Montserrat has four special sets of characters and I would like to use a stylised ‘a’ with no curliques as part of the title. It exists in the font as character 65537 or 0x17f. If I try to insert it with escapes it does not work.

    Is it possible to use all the special characters in th etitle?

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator bcworkz

    (@bcworkz)

    Those two are not the same numbers, but in any case you should be able to copy/paste from some other resource the actual text as displayed without entity encoding and it’ll be processed correctly as long as your charset is UTF-8 (the default). I get ? for 0x17f. Copy/pasting ? or any other valid character directly into a title ought to work correctly.

    Thread Starter msapsard

    (@msapsard)

    Thanks. UTF-8 is in use. Cutting and pasting the required characters from LibreOffice was the first thing I tried, but it did not work. The characters that show in the Site Title are not in the Site Title font.

    I have seen other posts suggesting methods of loading alternative characters, but they generally say that the techniques do not work in the Site Title.

    It looks like I have to create and load a graphic.

    Thread Starter msapsard

    (@msapsard)

    It looks as though the characters are in the font, but not necessarily in UTF-8. Using FontMatrix the ‘a’ appears as a.SS01 and I+639. There is no U+ representation.

    Moderator bcworkz

    (@bcworkz)

    What WP editor are you using? I can successfully copy from Libre Office to the title field of the default block editor without the Office font coming with it. I used dramatically different fonts to be sure.

    I’m not familiar with an I+ representation. Out of curiosity more than it helping your situation, can you copy/paste this elusive character into this forum’s message editor so I can see what glyph you’re actually after? Or does it only exist in a particular font?

    It will be a sad day if you have to resort to using an image to represent the glyph.

    Thread Starter msapsard

    (@msapsard)

    I can copy and paste from LO to WP without the font coming with it.
    The problem is trying to get particular characters from DM Sans into the Site Title,rather than a page title.
    I have created a LO document that has the font embedded and which shows the special characters and how to use them in LO. The second page shows the as ‘unmapped’ glyphs in FontMatrix. They appear to be in the font, but not encoded as UTF-8 characters, except as a Special Set, which is recognized by one application but not the other.
    It seems WP only recognizes the standard characters, unless there is a work around.

    Thread Starter msapsard

    (@msapsard)

    There is a document showing the characters here: https://u3adacorum.org/wp-content/uploads/2020/11/Fonts-3.odt

    Moderator bcworkz

    (@bcworkz)

    Oh the site title! Probably makes no difference anyway. So you want the “one story a” instead of the normal “two story a”. I imagined it was some odd diacritic combination like ? (x1eaf, used in Vietnamese). If it’s not part of the standard UTF-8 encoding, I don’t think you can reach it. AFAIK browsers cannot access extended glyphs, ligatures, and other cool font features like some word processors can.

    Could you instead utilize a web font which uses a one story a as its default glyph?

    Thread Starter msapsard

    (@msapsard)

    I was trying to match a branding requirement for the UK U3A movement. Unfortunately their branding consultants don’t understand the environment they are working in. I shan’t worry about it.

    Thanks very much for your input, it helped me work through and rationalise what was happening. I had always assumed that UTF-8 contained all of the characters in a font.

    Moderator bcworkz

    (@bcworkz)

    As someone getting there in age, great organization! What if all occurrences of u3a were span styled in Monserrat Alternates Semi-Bold? It’s pretty close to DM Sans, in smaller text the deviation shouldn’t be too noticeable. In big display text you probably will have to resort to a graphic to maintain proper branding.

    Thread Starter msapsard

    (@msapsard)

    Thanks for your reply. Unfortunately the U3A adopted the flat topped 3 which is a special character that is not available in many word processors.

    I have now gone back to the original Poppins font and moved the special characters up to the european latin language part of the font file. It seems to work well.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Show Special Set Characters in Site Title’ is closed to new replies.