Jean Abou Samra
Joined 15 October 2025
→More fonts for the Wiki: Reply |
→This wiki has no templates: Reply |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 82: | Line 82: | ||
::Thanks, but are you sure that the CJK font is working correctly? I tried to modify the [[UTF-8]] snippet to trigger a re-rendering, but I still can't see any Japanese... -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 20:44, 12 December 2025 (UTC) | ::Thanks, but are you sure that the CJK font is working correctly? I tried to modify the [[UTF-8]] snippet to trigger a re-rendering, but I still can't see any Japanese... -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 20:44, 12 December 2025 (UTC) | ||
:::Oops, indeed. But I don't understand why. On the server, <code>-dshow-available-fonts</code> does list "Noto Serif CJK JP". And curiously, if I remove all font settings and compile the code with different versions, it starts working between 2.25.12 and 2.25.13. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 23:49, 12 December 2025 (UTC) | :::Oops, indeed. But I don't understand why. On the server, <code>-dshow-available-fonts</code> does list "Noto Serif CJK JP". And curiously, if I remove all font settings and compile the code with different versions, it starts working between 2.25.12 and 2.25.13. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 23:49, 12 December 2025 (UTC) | ||
::::Ah, I forgot that Google added Font Variation (VF) versions of the CJK fonts, and the various GNU/Linux distros eagerly took them to make the font bundles much smaller. Older LilyPond versions cannot reject these fonts correctly. | |||
::::For me it works with 2.24.4 if you use the font <code>[https://github.com/notofonts/noto-cjk/blob/main/Serif/OTF/Japanese/NotoSerifCJKjp-Regular.otf NotoSerifCJKjp-Regular.otf]</code> (probably also installing the [https://github.com/notofonts/noto-cjk/blob/main/Serif/OTF/Japanese/NotoSerifCJKjp-Bold.otf bold version] for completeness), and this font is found first. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 04:24, 13 December 2025 (UTC) | |||
:::::Thanks, I've added these fonts on the server as a workaround. The snippet now displays correctly. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 09:13, 13 December 2025 (UTC) | |||
::::::Great, thanks! -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 10:50, 13 December 2025 (UTC) | |||
== This wiki has no templates == | |||
Would it be ok if I created some templates? And I am missing several AddOns, CharInsert would be nice for editing, SyntaxHighlight, Scribunto. I am running a rather private Lilypond Wiki in German for several years and have some experience with Wikis, [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 15:13, 18 December 2025 (UTC) | |||
:Feel free to create all kinds of pages, including templates. However, I'd prefer if they were created as needed for specific pages (i.e., don't create templates "for the future" that aren't used on any pages). Also, I don't see much that could be factored between pages so what's your use case? In particular, please don't create templates similar [[wikipedia:Template:Em|<code><nowiki>{{em|...}}</nowiki></code> on Wikipedia]] that add friction to the editing process for a negligible payoff. | |||
:I haven't installed the extensions you requested because: | |||
:# I don't see any special characters that would be needed particularly often on this wiki specifically, and I'd rather not maintain a general list of special characters, this is the job of system-level input methods like Compose keys and character map apps IMHO. | |||
:# It wouldn't make much sense to have syntax highlighting only for the few code snippets that use <code><nowiki><pre></nowiki></code>, as opposed to <code><nowiki><lilypond></nowiki></code>. However, if someone submits a change for adding syntax highlighting to the output of <code><nowiki><lilypond></nowiki></code> in the [https://gitlab.com/jeanas/LilyWiki extension] that defines this tag for the wiki, I'll be happy to review it. | |||
:# Scribunto has security implications (e.g., the need to keep Lua updated), so I'd rather only install it if there is a compelling use case for that. | |||
:[[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 21:10, 18 December 2025 (UTC) | |||