MediaWiki talk:Gadget-LanguagesAndScripts.css

From Wiktionary, the free dictionary
Latest comment: 14 days ago by Catonif in topic Linear B bolding
Jump to navigation Jump to search

For previous discussions about styles on this page before it was split into a separate gadget, see MediaWiki talk:Common.css.

Do not increase font sizes for CJK scripts

[edit]

The font sizes for CJK scripts are enlarged to 120% in the CSS. While it is somewhat acceptable on a computer screen, it looks really unbalanced on a mobile phone. The font size settings did not affect mobile pages previously, so I guess this side effect is introduced in the file reorganization recently. I can't see the point of enlarging CJK font sizes, as 100% is already perfect in my opinion. So why are those lines there? Can we remove them? Lhy7889678 (talk) 10:29, 22 September 2023 (UTC)Reply

I agree. Especially for Korean, the font looks ridiculously large even on a desktop monitor. I suggest that it should be adjusted to something like 105% for Korean or just remove it entirely. Chom.kwoy (talk) 17:27, 29 March 2024 (UTC)Reply
Agree to remove. The big font is frankly quite obnoxious especially on a smaller window or screen, and turning down the zoom to resolve the issue actively hurts readability because the English text becomes too small. Lunabunn (talk) 17:32, 29 March 2024 (UTC)Reply
Comment: Regarding the idea that CJK text needs to be bigger than Latin text to be legible, that is true. That is why most if not all CJK fonts already make CJK glyphs larger:
a뷁a鬱aた (lang tags omitted deliberately for effect)
I will not comment for C/J, but at least for K, 120% scaling on top of the already larger glyphs looks very strange and actively harms legibility for anyone familiar with the script. Lunabunn (talk) 21:46, 9 April 2024 (UTC)Reply
Ya, considering that CJK fonts already have larger glyph sizes, I'm not sure I see any compelling need to increase the font sizes in CSS.
Compare:
  • 鬱 — no lang tag, presumably rendering at the default font size.
  • — tagged as Japanese, CSS defined as 20% larger font.
This is a notably complicated glyph. While the larger size is certainly helpful for being able to pick out the individual character components, the glyph is still legible at the smaller (regular) size. ‑‑ Eiríkr Útlendi │Tala við mig 23:04, 9 April 2024 (UTC)Reply
Neutral. I think it looks fine in CJK articles, but it looks bad in synonym tables. Kungming2 (talk) 21:26, 9 April 2024 (UTC)Reply

Hiragino Sans

[edit]

Original discussion here about JIS2004 forms of certain kanji.

Please add “Hiragino Sans” to Japanese. For some reason, only English Wiktionary is displaying a number of kanji with the pre-2004 forms. This is strange, as by default, the newest version of Hiragino Sans should display the 2004 forms, and the pre-2004 forms would be obtained with a variation selector, such as 葛飾 without VS and 葛󠄀城 with VS.

However, Hiragino Kaku Gothic Pro, which is included, seems to be an alias of Hiragino Sans. I am wondering if my system does not recognize the two names belonging to the same font. In that case, please add Hiragino Sans. OosakaNoOusama (talk) 09:48, 15 January 2024 (UTC)Reply

Cebuano Badlit font

[edit]

Hello, (pinging @Erutuon as well)

Please add this rule to the css:

.Tglg:lang(bcl) {    
font-family: 'Bikol Mintz', 'Tagalog Doctrina 1593','Noto Sans Tagalog','Tagalog Stylized','Baybayin Lopez','Noto Sans Hanunoo','Code2000',sans-serif; 
}

.Tglg:lang(ceb) {    
font-family: 'Bisaya Hervas', 'Tagalog Doctrina 1593','Noto Sans Tagalog','Tagalog Stylized','Baybayin Lopez','Noto Sans Hanunoo','Code2000',sans-serif; 
}

so that Badlit and Basahan fonts can be used for Cebuano and Bikol Central. Thank you! Fonts can be found here: http://paulmorrow.ca/fonts.htm 𝄽 ysrael214 (talk) 13:12, 3 September 2024 (UTC)Reply

Done!Eru·tuon 19:06, 5 September 2024 (UTC)Reply
@Erutuon I realized Hanunoo doesn't share the same unicode byte from Tagalog Baybayin
So I would like to ask if you could replace "Noto Sans Hanunoo" font in all .Tglg css classes to "Quivira".
In addition please change .Hano to add "Noto Sans Hanunoo" there instead and be the following:
  
/* Hanunoo */
.Hano {
font-family: "Noto Sans Hanunoo", Quivira, 'MPH 2B Damase', sans-serif;
font-size: 1.1em;

}
𝄽 ysrael214 (talk) 21:45, 11 September 2024 (UTC)Reply
@Erutuon Hello, I would like to follow up on this one. Thank you! 𝄽 ysrael214 (talk) 15:11, 4 October 2024 (UTC)Reply
@Ysrael214: Sorry for the delay. Done Done. — Eru·tuon 20:33, 10 October 2024 (UTC)Reply
@Erutuon

I realized Hanunoo doesn't share the same unicode byte from Tagalog Baybayin So I would like to ask if you could replace "Noto Sans Hanunoo" font in all .Tglg css classes to "Quivira".

Hi, this part was overlooked I think. Thanks! 𝄽 ysrael214 (talk) 20:37, 10 October 2024 (UTC)Reply
@Ysrael214: Whoops, Done Done. — Eru·tuon 00:33, 12 October 2024 (UTC)Reply
@Erutuon Hi uhh they weren't replaced to Quivira but got removed instead. 𝄽 ysrael214 (talk) 00:38, 12 October 2024 (UTC)Reply
@Ysrael214: Wow, I really didn't read carefully. I think I've done the right thing finally. — Eru·tuon 17:34, 12 October 2024 (UTC)Reply

supporting highlighting for strong aii elements

[edit]

compare <b> vs <strong> (used in verb conjugation tables)

<span class="Syrc e-example"><b>ܫܠܵܡܵܐ</b></span>

ܫܠܵܡܵܐ

<span class="Syrc e-example"><strong>ܫܠܵܡܵܐ</strong></span>

ܫܠܵܡܵܐ

@Fenakhay ColumbaBush (talk) 00:16, 8 October 2024 (UTC)Reply

Modi script

[edit]

@Erutuon, could you please add Modi script (Modi) to the “do not support italic text” list? Thanks. dringsim 06:49, 13 October 2024 (UTC)Reply

Done DoneEru·tuon 20:46, 16 October 2024 (UTC)Reply

Linear B bolding

[edit]

@Erutuon Could Linear B, Linb, be moved from the list of scripts that cannot be italicised (currently at line 74) to the one that cannot be italicised and bolded, and consequently also to the list of scripts that become pink when bolded in mentions? Catonif (talk) 13:09, 19 October 2024 (UTC)Reply

Done DoneEru·tuon 00:00, 21 October 2024 (UTC)Reply
@Erutuon Thank you! Could you also fulfill the rest of the request? It implies Linb to be added on line 169 as the other scripts with the same issue. Sorry if I wasn't clear. Catonif (talk) 13:51, 21 October 2024 (UTC)Reply