Skip to main content
Almtuna
Inspiring
August 18, 2020
Question

Charachter suddenly replaced in html/chm output

  • August 18, 2020
  • 1 reply
  • 611 views

I'm practicing with CourierNew box drawings characters.

Before, looking just fine:

 

 

Then I replaced the XYZ with new "light horizontal" characters. (copy and paste from same line.) The html5 (or chm) output suddenly has replaced the "down and horizontal" character with something unknown - even though I didn't touch any of the characters in that area.

 

 

 

 

I can't understand why this happens, and how to avoid it.

 

    This topic has been closed for replies.

    1 reply

    Bob_Niland
    Community Expert
    Community Expert
    August 18, 2020

    That glyph almost certainly is a "replacement" character, meaning that the font at the final client doesn't populate that code point in Unicode.

    Unless you can control this, for all clients (browsers, help engines) on all platforms, it's going to remain a risk, and why users here such as myself have suggested converting the art to vectors (SVG), which today has more support than user clients do for way too much of Unicode.

    Legend
    August 19, 2020

    Here's a screenshot of svg output to encourage you :-} send me a private message if you're curious about the code, which only needed a text editor.

     

    Almtuna
    AlmtunaAuthor
    Inspiring
    August 19, 2020

    Thanks, the svg solution is tempting. However, can those really include (clickable) cross references/links?

    The reason I've been considering this Courier New based syntax is to have e.g. interval-literal and integer-literal above as clickable links.