EEVblog > News/Suggestions/Help

Adding a line of UTF-8 symbols to copy from

<< < (3/3)

shapirus:

--- Quote from: Nominal Animal on May 25, 2024, 08:25:15 am ---The wider question is, do others agree with my assumption/opinion that these would make posts more readable?

--- End quote ---
Most definitely. After all, there is a good reason why they are (still) used in scientific and technical texts. The reason why they are not used sometimes is because of the effort it takes to type them.


--- Quote from: Nominal Animal on May 25, 2024, 08:25:15 am ---Or are they just 'elitist jargon', something we are simply used to because of our background education where they are commonly used?

--- End quote ---
Even if so, this is a specialized forum where the use of these characters is justified and will improve the reader's experience. The writer's experience too, actually: I feel uneasy every time I type "u" for the "micro" prefix. Same for the "^2" and "^-1", etc. Sometimes I search for a specific utf-8 character to copy-paste it, when I have time and inspiration. It really would be nice to have all the common scientific/engineering special characters near the post editing text box, and it would encourage people use them more often.

Nominal Animal:
I definitely agree, Shapirus; and would even be willing to help with a Beginner forum post explaining their usage in terms everyone can follow, with links to detailed relevant information at Wikipedia and elsewhere for those wishing to know more.

Still, it is a valid question, the answer to which will subtly affect the content of posts in the future.

In fact, it would also make sense to install DejaVu Sans (as a backup for Verdana) + Bold/Italic/BoldItalic and DejaVu Sans Mono (as a backup for DejaVu Sans Mono and Monaco) + Bold/Italic/BoldItalic as WOFF2 webfonts.  AIUI, Verdana website license pricing is silly, but DejaVu font family is free; this would ensure these Unicode glyphs would be viewable by everyone without requiring they have these fonts installed on their systems.  I tried to explain this in this thread, but failed, even though I created a test page for doubters to test.  Due to the negative responses (by those who didn't bother to check the test page to see if their worries were even warranted, I guess), Dave/Gnif/et al. didn't participate or note that thread at all.

To use as a backup font, one would add a suffix to the font face name in CSS, say "DejaVu Sans Mono Webfont", and when specifying the font family, list the backup font after the locally installed one, ie. font-family: "DejaVu Sans Mono", "DejaVu Sans Mono Webfont", monospace; (with default monospace font as a backup if one has a rare-odd browser that doesn't support Webfonts).

The test page does not do this, and instead always uses the webfont version, to ensure every visitor sees what the page would look like if they didn't have the font installed on their device, and relied on the Webfont instead.  So please, don't take that as the recommendation of what should be done here.

The original TrueType font is 340k, WOFF2 version is 145k, and WOFF version is 200k, one of which is loaded by the browser but only if the primary font is not installed on the device.  Thus, we're not talking about a massive increases in download sizes, especially because these are static files and can advertise an aggressive caching policy.  (That way, clients will only send a HEAD request to check if a newer one is available if they already have a copy.)

Tation:
May I mention «Espanso» https://espanso.org/? This is the tool I use to insert characters not in my keyboard. E.g.: ω, Ω, ℧, », «, ∞, →, ⇒, ≠, …,

I'm using a Spanish keyboard. On it there's a key with little use, usually only used after a number (as in 3º) and well located: the º key (below the ESC key). With it is quite convenient to enter the previous characters as: omegaº, Omegaº, mhoº, >>º, <<º, infº, ->º, =>º, /=º, ...º

IMHO, definitely worths a try.

magic:
Not a bad idea. I would start with at least modifying the existing Ω button to properly insert Ω instead of \$\Omega\$ (for those suggesting MathJax - that's exactly what the Ω button currently does and why it looks odd).

Myself, I use Linux and have a bunch of custom compose sequences to insert Greek letters in all applications.

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod