kontur / fontsampler-wordpress-plugin

A Wordpress plugin that let's users interactively preview and test webfonts
http://fontsampler.johannesneumeier.com
GNU General Public License v3.0
39 stars 8 forks source link

Font Sampler display default font. #164

Closed sstw83 closed 4 years ago

sstw83 commented 4 years ago

Hi

I recently uploaded a font into my Font Sampler. In the admin section, the font preview is showing the correct font. 1

However, when I check it on my website page, it is displaying default font. It only happens on this particular font, other fonts do not have this issue. 2

Hopefully you can help me out with this issue.

Thank you 😉

kontur commented 4 years ago

Can you see if the developer console outputs any warnings or errors, or could you link me to the page? Is this a font you made yourself or downloaded from somewhere?

sstw83 commented 4 years ago

Hi

Thank you for your reply. Sorry, can I know how to see the developer console outputs?

I downloaded this font from this website. https://www.1001freefonts.com/weather-sunday.font

This is my product page, font style#1 https://www.alskar.co/products/plush-pencil-case-personalized-birthday-gifts/

Thank you, Wei Siang

On Mon, Feb 3, 2020 at 4:14 PM Johannes Neumeier notifications@github.com wrote:

Can you see if the developer console outputs any warnings or errors, or could you link me to the page? Is this a font you made yourself or downloaded from somewhere?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kontur/fontsampler-wordpress-plugin/issues/164?email_source=notifications&email_token=AOOFNZELBIRXNJP5QLWLIHDRA7G67A5CNFSM4KO2SQDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKS4JFA#issuecomment-581289108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOFNZG53QM7JMCS5TRTNH3RA7G67ANCNFSM4KO2SQDA .

kontur commented 4 years ago

Hey,

Font style #1 seems to render ok for me? Could it be that is a caching issue, have you tried clearing your browser cache and refreshed the page?

Developer tools can be accessed either by some main menu or many browsers have a right-click “inspect element” entry to view more details. The view that opens should have a “console” tab; but on the site I see nothing problematic.

Best, Johannes


Johannes Neumeier Designer ∞ Developer https://johannesneumeier.com hello@johannesneumeier.com +358 50 536 1961

On 3 Feb 2020, at 10.37, sstw83 notifications@github.com wrote:

Hi

Thank you for your reply. Sorry, can I know how to see the developer console outputs?

I downloaded this font from this website. https://www.1001freefonts.com/weather-sunday.font

This is my product page, font style#1 https://www.alskar.co/products/plush-pencil-case-personalized-birthday-gifts/

Thank you, Wei Siang

On Mon, Feb 3, 2020 at 4:14 PM Johannes Neumeier notifications@github.com wrote:

Can you see if the developer console outputs any warnings or errors, or could you link me to the page? Is this a font you made yourself or downloaded from somewhere?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kontur/fontsampler-wordpress-plugin/issues/164?email_source=notifications&email_token=AOOFNZELBIRXNJP5QLWLIHDRA7G67A5CNFSM4KO2SQDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKS4JFA#issuecomment-581289108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOFNZG53QM7JMCS5TRTNH3RA7G67ANCNFSM4KO2SQDA .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kontur/fontsampler-wordpress-plugin/issues/164?email_source=notifications&email_token=AAOOJSNMEWNI7LXMTVTVQOTRA7JVLA5CNFSM4KO2SQDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKS6LRA#issuecomment-581297604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOOJSOYYKFY7NRKVWX6DYLRA7JVLANCNFSM4KO2SQDA.

sstw83 commented 4 years ago

Hi Johannes,

I have cleared my browsers and website cache. However different browsers return with different result.

Firefox - the font display correctly Google Chrome - display in default font Microsoft Edge - ok Safari - ok Opera - in default font

I am not too sure what is happening here.

On Mon, Feb 3, 2020 at 7:47 PM Johannes Neumeier notifications@github.com wrote:

Hey,

Font style #1 seems to render ok for me? Could it be that is a caching issue, have you tried clearing your browser cache and refreshed the page?

Developer tools can be accessed either by some main menu or many browsers have a right-click “inspect element” entry to view more details. The view that opens should have a “console” tab; but on the site I see nothing problematic.

Best, Johannes


Johannes Neumeier Designer ∞ Developer https://johannesneumeier.com hello@johannesneumeier.com +358 50 536 1961

On 3 Feb 2020, at 10.37, sstw83 notifications@github.com wrote:

Hi

Thank you for your reply. Sorry, can I know how to see the developer console outputs?

I downloaded this font from this website. https://www.1001freefonts.com/weather-sunday.font

This is my product page, font style#1

https://www.alskar.co/products/plush-pencil-case-personalized-birthday-gifts/

Thank you, Wei Siang

On Mon, Feb 3, 2020 at 4:14 PM Johannes Neumeier < notifications@github.com> wrote:

Can you see if the developer console outputs any warnings or errors, or could you link me to the page? Is this a font you made yourself or downloaded from somewhere?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/kontur/fontsampler-wordpress-plugin/issues/164?email_source=notifications&email_token=AOOFNZELBIRXNJP5QLWLIHDRA7G67A5CNFSM4KO2SQDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKS4JFA#issuecomment-581289108 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOOFNZG53QM7JMCS5TRTNH3RA7G67ANCNFSM4KO2SQDA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/kontur/fontsampler-wordpress-plugin/issues/164?email_source=notifications&email_token=AAOOJSNMEWNI7LXMTVTVQOTRA7JVLA5CNFSM4KO2SQDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKS6LRA#issuecomment-581297604>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAOOJSOYYKFY7NRKVWX6DYLRA7JVLANCNFSM4KO2SQDA .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kontur/fontsampler-wordpress-plugin/issues/164?email_source=notifications&email_token=AOOFNZDES7KMEY5GDVPVS23RA774NA5CNFSM4KO2SQDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKTRSMI#issuecomment-581376305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOFNZGI65WEA4MGMMP2YC3RA774NANCNFSM4KO2SQDA .

kontur commented 4 years ago

Hey,

you really should be using only .woff files for the previews. ttf files (the other fonts) are kind-of supported, but the first file is a .otf file and that is why it won't render in some browsers (that do a bit more strict checks).

Note also that using "personal use" fonts on a commercial site will get you into trouble before long. Since you already need woff files anyway, I suggest you use the opportunity and purchase a webfont license for that first (and the possible other) fonts in your tester.