Project

General

Profile

Task #2500

Disable Embeded Google Fonts in Documentation Website for zh_cn

Added by Kevin Suo 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SilverStripe
Target version:
Team - Pool
Start date:
Due date:
% Done:

100%

Estimated time:
Tags:
Documentation
URL:

Description

The documentation website [1] currently has google font apis embeded in the html header. While this is good for most people, it causes trouble for some other people when they can not use google some other services (e.g., blocked). In this case, when they open the page is just keep loading forever.

May I ask to remove the google font linked to [1], at least for /zh/cn/?

I think this is possible, as I have asked to remove the same for [2] years ago and it works like a charm.

[1] https://documentation.libreoffice.org/zh/cn/
[2] https://zh-cn.libreoffice.org/

Kevin Suo

History

#1 Updated by Florian Effenberger 11 months ago

  • Assignee set to Christian Lohmaier
  • Target version set to Pool

#2 Updated by Florian Effenberger 10 months ago

  • Assignee changed from Christian Lohmaier to Mike Saunders

Mike, I think this is exactly what you are working on with the self-hosted Lato fonts, isn't it?

#3 Updated by Mike Saunders 10 months ago

Hi Kevin,

On https://documentation.libreoffice.org/zh/cn/ the fonts are now self-hosted on our server, rather than being retrieved remotely from Googe's server. You can see this on line 25 of view source:

        <link href="/themes/libreofficenew/css/Lato2-new.css" rel='stylesheet' type='text/css' />

Is that what you meant - does it fix the problem?

#4 Updated by Kevin Suo 10 months ago

Mike Saunders wrote:

Hi Kevin,

On https://documentation.libreoffice.org/zh/cn/ the fonts are now self-hosted on our server, rather than being retrieved remotely from Googe's server. You can see this on line 25 of view source:

[...]

Is that what you meant - does it fix the problem?

Yes it works. Thanks a lot.

#5 Updated by Kevin Suo 10 months ago

  • % Done changed from 0 to 100

#6 Updated by Mike Saunders 10 months ago

  • Status changed from New to Closed

Kevin Suo wrote:

Yes it works. Thanks a lot.

Great - I'll close this ticket then.

Also available in: Atom PDF