Project

General

Profile

Actions

Task #2500

closed

Disable Embeded Google Fonts in Documentation Website for zh_cn

Added by Kevin Suo almost 7 years ago. Updated over 6 years ago.

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

100%

Tags:
Documentation

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

Actions #1

Updated by Florian Effenberger almost 7 years ago

  • Assignee set to Christian Lohmaier
  • Target version set to Pool
Actions #2

Updated by Florian Effenberger over 6 years 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?

Actions #3

Updated by Mike Saunders over 6 years 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?

Actions #4

Updated by Kevin Suo over 6 years 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.

Actions #5

Updated by Kevin Suo over 6 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Mike Saunders over 6 years ago

  • Status changed from New to Closed

Kevin Suo wrote:

Yes it works. Thanks a lot.

Great - I'll close this ticket then.

Actions

Also available in: Atom PDF