This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

How to use Chinese font

  • ymoore
  • Auteur du sujet
  • Absent
  • Administrateur
  • Administrateur
Plus d'informations
il y a 7 ans 2 mois #5711 par ymoore
How to use Chinese font a été créé par ymoore
Hi

Is it possible to add fonts to Xerte? An academic who teaches Chinese wants to use a font called Kaiti, as this would match the font she's using in Moodle. Has anyone done this? Or have advice on how to do this?

I provided instructions on adding a Google Font (Noto Sans SC - simplified Chinese) but it isn't close enough to Kaiti.

Thanks
Yvonne

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 2 mois #5713 par ronm
Réponse de ronm sur le sujet How to use Chinese font
Hi Yvonne
if you have provided instructions on how to add a Google font and someone has enabled use of the font in Moodle then a similar process would probably apply. You would need to check licensing but I guess someone has done that if already in use in Moodle. If a collection of font files have been added to Moodle then those same font files would need to be added to Xerte somewhere and then referenced in the css. Probably the easiest would be a custom theme with the font files part of that theme.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Connexion ou Créer un compte pour participer à la conversation.

  • ymoore
  • Auteur du sujet
  • Absent
  • Administrateur
  • Administrateur
Plus d'informations
il y a 7 ans 2 mois #5715 par ymoore
Réponse de ymoore sur le sujet How to use Chinese font
Thanks Ron.

The Google Font was my work-around in Xerte but I think in Moodle they're accessing some additional fonts add by our Computing team.

So if I can get hold of the font file (and license permitting) would it need to sit in a theme folder? Or can we add it to whereever the other fonts are stored so that it can be accessed from the drop-down menu on the text-editor?

Cheers
Yvonne

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 2 mois #5716 par ronm
Réponse de ronm sur le sujet How to use Chinese font
Hi Yvonne
I don't have time to double check right now but I don't think the fonts listed in the drop down menu of the text editor are dynamically populated from a font folder. In fact I'm pretty sure they aren't. If you select a bit of text and then choose one of those font styles you'll see that span tags and font-family settings are added. You could manually change those font-family settings to Kaiti as long as that font is loaded somewhere but I would think it's far better to add custom css or a custom theme that applies the font to para and heading styles etc across the whole LO.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ingdon
Temps de génération de la page : 0.455 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo