Projekt

Allgemein

Profil

Aktionen

GX-Bug #69869

geschlossen

StyleEdit4 GoogleFontDownloader verwendet ein veraltetes URL Schema | StyleEdit4 GoogleFontDownloader uses an outdated url schema

Von Marvin Muxfeld vor fast 2 Jahren hinzugefügt. Vor mehr als 1 Jahr aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Ahmed Hamouda
Kategorie:
StyleEdit 4
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.6.0.0
Release Notes Langtext:

StyleEdit4 kann jetzt Schriftarten von der Google 'css'- und 'css2'-Api herunterladen


Beschreibung

Currently StyleEdit4's GoogleFontDownloader does not create the url in the documented way correcty(https://developers.google.com/fonts/docs/css2#axis_ranges)

This could cause the requested url to look like https://fonts.googleapis.com/css2?family=Allura&family=Merriweather|Roboto:400,700,300,900|serif:400,700,300,900 which will result in a 400 response

the correct url for these fonts would be https://fonts.googleapis.com/css2?family=Merriweather&family=Roboto&family=serif

This causes the the fonts not to be saved in /public/fonts and the fonts will always be downloaded directly from the google api.


Dateien



Zugehörige Tickets

Beziehung mit GX-Entwicklung - GX-Bug #66550: Google Webfont Standard URL aktualisieren und weitere Funktion prüfenAnerkannt

Aktionen
Aktionen

Auch abrufbar als: Atom PDF