Hello @Devs,

I was able to reproduce the issue, and I believe it can be fixed if we will
Option 0:
1) provide PNG instead of SVG

Option 1:
1) check if embedded web font exist using JS
2) if not will insert PNG image of SVG currently being used

Option 2:
1) modify SVG to have circle and crown only
2) move text and web-font outside SVN to be regular DIV elements

WDYT?

On Tue, 22 Jan 2019 at 21:29, Vit Rozkovec <vit.rozko...@gmail.com> wrote:

> So no extra configuration whatsoever.
>
> úterý 22. ledna 2019 Vit Rozkovec <vit.rozko...@gmail.com> napsal(a):
> > He had uBlock Original 1.15, configuration status unknown.
> >
> > Wouldn't simple svg fix that?
> >
> >
> > úterý 22. ledna 2019 Maxim Solodovnik <solomax...@gmail.com> napsal(a):
> >> @Vit, maybe you can share which AdBlocker have you used and how it was
> >> configured?
> >>
> >> On Tue, 22 Jan 2019 at 18:56, Martijn Dashorst <
> martijn.dasho...@gmail.com>
> >> wrote:
> >>
> >>> My guess is that if a web font from same origin is blocked, JavaScript
> >>> will fail as well.
> >>>
> >>> Martijn
> >>>
> >>> On Tue, Jan 22, 2019 at 12:25 PM Maxim Solodovnik <
> solomax...@gmail.com>
> >>> wrote:
> >>> >
> >>> > Maybe something like this
> >>> >
> >>> >
> >>>
>
> https://stackoverflow.com/questions/1271477/changing-body-font-size-based-on-font-family-with-jquery
> >>> >
> >>> > can be used?
> >>> >
> >>> > On Tue, 22 Jan 2019 at 17:27, Andrea Del Bene <an.delb...@gmail.com>
> >>> wrote:
> >>> >
> >>> > > I've checked uBlock with Firefox and AdBlocker with Chrome, both
> with
> >>> > > default configs, and I see no problem. Obviously IE/Edge always
> >>> behaves in
> >>> > > its own, peculiar way :-).
> >>> > >
> >>> > > On Tue, Jan 22, 2019 at 11:12 AM Martijn Dashorst <
> >>> > > martijn.dasho...@gmail.com> wrote:
> >>> > >
> >>> > > > Well, we did everything well: the fonts are hosted at Apache, not
> >>> > > > loaded from external site that tracks their usage (looking at you
> >>> > > > fonts.google.com), the SVG even embeds the font file in a data
> uri.
> >>> If
> >>> > > > the adblocker then still blocks the font, what can we do?
> Introduce a
> >>> > > > 4MB PNG file? Or should the adblocker at least honor same domain
> >>> > > > requests for resources and not block data URI's?
> >>> > > >
> >>> > > > The font face used for the logo is narrow and there are no
> web-safe
> >>> > > > fonts that render correctly in this instance: I've tried with
> Arial
> >>> > > > Narrow and sans-serif as a fallback: the logo still looks badly
> >>> > > > broken.
> >>> > > >
> >>> > > > AFAIK we can't detect whether someone uses an adblocker that
> >>> > > > specifically blocks web fonts, serve them the 8GB binary images,
> and
> >>> > > > serve the rest of the world the 80kb SVG file.
> >>> > > >
> >>> > > > I understand the need for an adblocker, but when you use one
> >>> (wrongly)
> >>> > > > you are responsible for when shit breaks.
> >>> > > >
> >>> > > > Martijn
> >>> > > >
> >>> > > >
> >>> > > > On Tue, Jan 22, 2019 at 9:46 AM Vit Rozkovec <
> vit.rozko...@gmail.com
> >>> >
> >>> > > > wrote:
> >>> > > > >
> >>> > > > > HI,
> >>> > > > >
> >>> > > > > please see this screenshot:
> >>> > > > > https://screenshots.firefox.com/v4PQv7WIKAv1TiUA/null
> >>> > > > >
> >>> > > > > This is how is the site visible when you browse it with adblock
> >>> that
> >>> > > > > blocks also some fonts.
> >>> > > > >
> >>> > > > > Discovered when one my colleague who is learning Wicket and
> uses
> >>> > > Windows
> >>> > > > > wanted to show it to someone else, not a very good first
> >>> impression :)
> >>> > > > >
> >>> > > > > I think it would be good to have a default that displays ok
> even
> >>> when
> >>> > > > > fonts are blocked, what do you think?
> >>> > > > >
> >>> > > > > Have a nice day
> >>> > > > > Vit
> >>> > > > >
> >>> > > >
> >>> > > >
> >>> > > > --
> >>> > > > Become a Wicket expert, learn from the best:
> >>> http://wicketinaction.com
> >>> > > >
> >>> > >
> >>> > >
> >>> > > --
> >>> > > Andrea Del Bene.
> >>> > > Apache Wicket committer.
> >>> > >
> >>> >
> >>> >
> >>> > --
> >>> > WBR
> >>> > Maxim aka solomax
> >>>
> >>>
> >>>
> >>> --
> >>> Become a Wicket expert, learn from the best: http://wicketinaction.com
> >>>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >>
>


-- 
WBR
Maxim aka solomax

Reply via email to