[SAC] staging.www.osgeo.org fails to show fonts when using an (ad)blocker

Hi,

On Wed, Dec 20, 2017 at 5:56 PM, OSGeo <trac_osgeo@osgeo.org> wrote:

#2056: staging.osgeo.org donate button
---------------------------+---------------------
Reporter: jive | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords: staging
---------------------------+---------------------
The staging.osgeo.org website is close to ready,

BTW, some issues (checking the page code):

* when using an (ad)blocker like uBlock (which I commonly use), then
the site does not contain any fonts and is quite "white".
  Is there no other way that using external Google fonts?

* s7.addthis.com - do we need to have this?

Just my 0.02 cents,
Markus

On Wed, Dec 20, 2017 at 5:56 PM, OSGeo <trac_osgeo@osgeo.org> wrote:
#2056: staging.osgeo.org donate button
---------------------------+---------------------
Reporter: jive | Owner: sac@
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords: staging
---------------------------+---------------------
The staging.osgeo.org website is close to ready,

BTW, some issues (checking the page code):

* when using an (ad)blocker like uBlock (which I commonly use), then the site does not contain any fonts and is quite "white".

> Is there no other way that using external Google fonts?

I think we can self-host the Google fonts we are using as part of the wordpress site
And pull from here

https://github.com/google/fonts/

Guess we'd need to check the licensing on each font to make sure. We can also just define a fallback font in the css as I recall.

Thanks,
Regina

I had a quick look, there are tools to download the fonts and the Javascript that chooses the appropriate approach for each browser.

However the fonts are improved over time, and we have an open issue with respect to kerning on windows … which has been reported to google fonts.

Out of curiosity does uBlock cause problems with other sites? Wondering how widespread google fonts use is …

···


Jody Garnett

On Thu, Dec 21, 2017 at 7:17 AM, Jody Garnett <jody.garnett@gmail.com> wrote:

I had a quick look, there are tools to download the fonts and the Javascript
that chooses the appropriate approach for each browser.

However the fonts are improved over time, and we have an open issue with
respect to kerning on windows ... which has been reported to google fonts.

One thing to consider is that we would expose our users to permanent
tracking when using external fonts.
Maybe nobody cares much but maybe some yes :slight_smile:

The upcoming EU privacy directive (EU-DSGVO) will forbid to embed
external fonts like this to my knowledge. Sure, the server is
elsewhere but if not really needed we should do it well, especially
since we are OSGeo.

Out of curiosity does uBlock cause problems with other sites? Wondering how
widespread google fonts use is ...

Elsewhere I have no such issues (I was just surprised to be prompted
with a basically blank welcome screen (images shown) when looking at
the staging site).

Markus

Markus can you report this as an issue: https://github.com/osgeo/osgeo/issues

We should have some ongoing support with get interactive and we can get this kind of thing resolved. Even with a quick look on stack exchange it seems there are several solutions available.

···

On 21 December 2017 at 08:20, Markus Neteler <neteler@osgeo.org> wrote:

On Thu, Dec 21, 2017 at 7:17 AM, Jody Garnett <jody.garnett@gmail.com> wrote:

I had a quick look, there are tools to download the fonts and the Javascript
that chooses the appropriate approach for each browser.

However the fonts are improved over time, and we have an open issue with
respect to kerning on windows … which has been reported to google fonts.

One thing to consider is that we would expose our users to permanent
tracking when using external fonts.
Maybe nobody cares much but maybe some yes :slight_smile:

The upcoming EU privacy directive (EU-DSGVO) will forbid to embed
external fonts like this to my knowledge. Sure, the server is
elsewhere but if not really needed we should do it well, especially
since we are OSGeo.

Out of curiosity does uBlock cause problems with other sites? Wondering how
widespread google fonts use is …

Elsewhere I have no such issues (I was just surprised to be prompted
with a basically blank welcome screen (images shown) when looking at
the staging site).

Markus


Sac mailing list
Sac@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/sac


Jody Garnett

On Thu, Dec 21, 2017 at 6:35 PM, Jody Garnett <jody.garnett@gmail.com> wrote:

Markus can you report this as an issue:
https://github.com/osgeo/osgeo/issues

We should have some ongoing support with get interactive and we can get this
kind of thing resolved. Even with a quick look on stack exchange it seems
there are several solutions available.

Yes, done:
https://github.com/OSGeo/osgeo/issues/175

Markus