Support » Developing with WordPress »   showing as fl ligature

  • Resolved Mark Argent

    (@markargent)


    If I insert   it shows as the fl ligature. My first guess was that the charset is wrong, but both here and in the database it is UTF-8.

    If I go “view source”, the start of the php file is:

    
    <!DOCTYPE html>
    <html lang="en-GB" class="no-js no-svg">
    <head>
    <meta name="google-site-verification" content="8SIu0QldE6GkS9BL2_vs7Ab9dw5HxDbxVX29g6rOGHc" />
    <meta charset="UTF-8">   
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
    <!-- <link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet"> -->
    <link rel="profile" href="http://gmpg.org/xfn/11">
    <script type="text/javascript">var siteURL = "http:\/\/netbsd\/opus";</script>

    `

    • This topic was modified 1 year, 4 months ago by Steven Stern (sterndata).
    • This topic was modified 1 year, 4 months ago by bcworkz. Reason: fixed entity code
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Sorry for all the confusion over reposting and all. Entity codes can be difficult to represent as desired. I went back and fixed your OP and removed your correction post from public view. When you’re past the free edit period for the OP, a correction post is the best way forward. Mods may or may not correct the OP, but either way readers can figure out your intent.

    It seems to be an issue with the specific font being used. If you un-comment the Open Sans webfont (after jQuery is loaded in the head section) and specify that for the problem content in CSS, does the problem go away?

    Thread Starter Mark Argent

    (@markargent)

    Thank you. I had worked around it with a ghastly hack in functions.php (replacing &nbsp; with a span contining a space set to white-space nowrap). But this is indeed a font problem — switching from Optima causes the problem to go away.

    Now to see if I can find an alternative source for Optima!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘  showing as fl ligature’ is closed to new replies.