Template talk:Cifrão

Latest comment: 1 month ago by JMF in topic Clarity of symbol at small sizes

Adjustment needed

edit
 
The principal line terms in typography.
For broader context, see Typeface anatomy.

The image as it stands right now needs to be recentered, because only the vertical strokes should appear in the ascender and descender areas. It needs leading space to be added above and below. I plan to try to create a revised image this evening if I can. 𝕁𝕄𝔽 (talk) 11:48, 6 February 2023 (UTC)Reply

This is the planned new version. I think the default can go back to 12.

  • 12 34    (12[[File:Cifrão symbol-temp.svg|12px]]34 )
  • sS   $    (sS [[File:Cifrão symbol-temp.svg|12px]] $)
  • 12 34    (12[[File:Cifrão symbol-temp.svg|15px]]34 )
  • sS   $    (sS [[File:Cifrão symbol-temp.svg|15px]] $)

It's a pity that it so smudgy but thin lines drawn using {{math}} are almost invisible. Any comments? --𝕁𝕄𝔽 (talk) 00:34, 7 February 2023 (UTC)Reply

See Template talk:Dollar2 § Oversized for the wider discussion. -DePiep (talk) 08:06, 7 February 2023 (UTC)Reply
Which concluded that 15px is the best compromise short of creating a completely new version of the glyph, so that is the default.
The only other option, to use html style="font-family:"font1", "font2", etc etc etc>, is impractical. It could only be done by identifying, for every version of every OS for every type of computer, tablet or phone, a default installed font that has a double barred dollar sign. --𝕁𝕄𝔽 (talk) 11:37, 7 February 2023 (UTC)Reply

Clarity of symbol at small sizes

edit

Due to a revision at Commons to File:Cifrão symbol.svg, the symbol is now illegible at the small size (15 pixesls) used by this template. I have initiated a discussion there to secure a resolution. (Pinging Kwamikagami in case they are not a frequent visitor to Commons.) 𝕁𝕄𝔽 (talk) 13:07, 29 September 2024 (UTC)Reply

Uploaded a narrow version of the img. See how that works.
We have conflicting requirements for typographic images. Most are only used in info boxes, tables and the like (e.g. on wiktionary), and for that you want a common width so that the heights don't get all wonky [e.g. when 'I' is made as wide as 'M' and so is 3x as tall, or capital and lower-case O end up being the same size]. But a few, like this one, are used inline as well, and there you want a narrower file so there isn't too much white space on the sides. I've narrowed the box to 10x16 and can also change the font to a slightly lighter weight if that's still too heavy.
We also don't need an aesthetic font for inline display; that's mostly so the infoboxes on wiktionary look good, where the display size is quite large. So the old version is just fine for this template, if ppl think that would work better. We have a couple SVG files to play around with, and I can upload my version as a 'display' variant for wiktionary etc. — kwami (talk) 14:56, 29 September 2024 (UTC)Reply
Collaboration continues at commons:User talk:Kwamikagami to further improve legibility. Watch this space... --𝕁𝕄𝔽 (talk) 15:15, 29 September 2024 (UTC)Reply
Following further refinements, the question has been resolved satisfactorily. File:Cifrão symbol.svg is for use in places where it can be displayed at 50 pixels or more, File:Cifrão symbol (narrow).svg is for use in running text, preferably by using this template. Thank you, Kwamikagami.
There remains of course the MOS:ACCESS issue of using a fixed pixel size but, without a dedicated codepoint in Unicode, there is not obvious solution to that. The improved glyph means at least that it is no longer quite so disabling. --𝕁𝕄𝔽 (talk) 10:29, 30 September 2024 (UTC)Reply