Projekt

Allgemein

Aktionen

GX-Bug #69869

geschlossen

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

Von Marvin Muxfeld vor fast 3 Jahren hinzugefügt. Vor mehr als 2 Jahren 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


Checkliste 0/0


Zugehörige Tickets

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

Aktionen
Aktionen #11

Von Ahmed Hamouda vor mehr als 2 Jahren aktualisiert

  1. open StyleEdit
  2. navigate to Basics > Typography > Google Web Font Url
  3. add https://fonts.googleapis.com/css2?family=Allura&family=Merriweather|Roboto:400,700,300,900|serif:400,700,300,900 as value
  4. reset configurations for section and wait for the preview to load

expected: Shop loads normally
actual: shop loads with CSS problems

if the problem was not replicated, clear page cache.

Aktionen