Header Font unrecognized

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Dec 30, 2014 3:56 pm
Reply with quote
Report this post
Hello, I did some test to troubleshoot a few things and it came to my eyes that some of the fonts used for John S. template are not always recognized.

I do not know what it is, but so far I noticed that "gkScrollDown gkAnimate reverse active" doesn't always show up (see in attachment from a distant contact I have in another city... using IE).

As well the "gk-icon-heart" and "gkScrollDown gkAnimate reverse active" will not show up on Android if I enable my CDN through Amazon AWS Cloudfront. Otherwise the android will show them no problem.

I have noticed as well that with the CDN activated, the "&nbsp" html spaces that I use in the NSP module title for "My hot work" will even show up the browser. I use those html space for SEO purposes (because no space will show for the H2 keywords of that title, giving something like "MyHotWork"... depending on the words.

Regards.
Thanks
User avatar
Platinum Boarder

GK User
Wed Dec 31, 2014 7:47 am
Reply with quote
Report this post
OK I seem to have narrowed down the problem to the CDN on Cloudfront AWS.

I found this article that talks about the issue relating it to what's called a Cross-origin resource sharing (CORS).

The article is here: http://schock.net/articles/2013/07/03/h ... some-cors/

Could you please provide the code in the format that's indicated in the article? That is, if you agree that this problem is due to CORS.

Problem occurs on the frontpage with the following elements using IE, Firefox or the browser on my Android:
gk-icon-heart
gk-icon-arrow-bottom
.gkScrollDown:after

I am using Système - NoNumber CDN pour Joomla! on the backend if you want to replicate the problem. Make sure you disable it after though.

Regards
User avatar
Platinum Boarder

teitbite
Fri Jan 02, 2015 10:25 am
Reply with quote
Report this post
Hi

I'm not sure if this is the case. Remember having the same issue and it was gone when I disabled AdBlock plugin.

Anyway please remind me Your FTP and Joomla panel access so I'll pass this to programmers and hopefully they will tell us something more.
User avatar
Moderator

GK User
Fri Jan 02, 2015 11:21 am
Reply with quote
Report this post
I don't have any ads block on the tablet. I resent the login info.

Regards

teitbite wrote:Hi

I'm not sure if this is the case. Remember having the same issue and it was gone when I disabled AdBlock plugin.

Anyway please remind me Your FTP and Joomla panel access so I'll pass this to programmers and hopefully they will tell us something more.
User avatar
Platinum Boarder

teitbite
Fri Jan 02, 2015 11:50 am
Reply with quote
Report this post
Hi

I've just reported this problem to programmers. Will let You know when they will answer.
User avatar
Moderator

GK User
Fri Jan 02, 2015 2:07 pm
Reply with quote
Report this post
If that helps, in the NoNumber CDN plugin there is a field for "ignoring files".

Also in the AWS Dashboard I can invalidate files if we ever need to refresh the cache on certain files.

I added the following lines to the .htaccess as recommended by NoNumbers but it did not have any effect:

Code: Select all
##### How can I keep using @font-face styles when using a CDN?
<FilesMatch "\.(ttf|ttc|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>


Ref: https://www.nonumber.nl/extensions/cdnf ... keep-using -font-face-styles-when-using-a-cdn

Regards
User avatar
Platinum Boarder

teitbite
Sat Jan 03, 2015 11:13 am
Reply with quote
Report this post
Hi

No answer from programmers yet. If only I could see the problem with my own eyes than I may be able to see what is wrong then. Unfortunately my IE doesn't have any problems seeing it on Your website. Can You please send me a source file from a time when this happens ?
User avatar
Moderator

teitbite
Mon Jan 05, 2015 10:23 am
Reply with quote
Report this post
Hi

Programmers pointed me to the same answer You have found already, just on a different site: http://www.fontsquirrel.com/blog/2010/1 ... e-problems

Please see if it's the same exact one. This is the page of generator programmers used to create fonts.
User avatar
Moderator

GK User
Wed Jan 07, 2015 8:38 am
Reply with quote
Report this post
Alright, I've just tested the CDN and it seems fully operational now. The command in .htaccess works.

Regards
User avatar
Platinum Boarder

teitbite
Wed Jan 07, 2015 9:56 pm
Reply with quote
Report this post
Hi

Great to hear that. Glad I could help :)
User avatar
Moderator


cron