I need an Android app. I would like it designed and built. Hi culturebrick, I am a top rated Persian/Farsi translator on freelancer website. Free true type font, windows gdt true type font, gdt true type font, convert true type font unicode.
Not sure if I'm heading a bug in Chrome or something is wrong with my CSS Here is a demonstration of what I'm talking about: demo link The problem is that I'm using a custom Farsi font in my website named as BMitra (it is absolutely free in public domain) and all major browsers (latest FF and IE6+) are rendering this font just fine but my Chrome skips this font and switches to system's default tahoma. Here is my CSS: @font-face font-family: 'BMitra'; / font-weight: normal; src: url('fonts/regular/BMitra.eot?#iefix') format('embedded-opentype'), /. IE6. Not sure if I'm heading a bug in Chrome or something is wrong with my CSS Here is a demonstration of what I'm talking about: demo link The problem is that I'm using a custom Farsi font in my website named as BMitra (it is absolutely free in public domain) and all major browsers (latest FF and IE6+) are rendering this font just fine but my Chrome skips this font and switches to system's default tahoma. Here is my CSS: @font-face font-family: 'BMitra'; / font-weight: normal; src: url('fonts/regular/BMitra.eot?#iefix') format('embedded-opentype'), /. IE6. I have used a custom font in my @font-face tags and it works successfully in my ASP.NET 3.5 website running on a local IIS site (localhost) on all (Windows) browsers.
![]()
When I copy the site to another IIS site on the same server using a different port (localhost:5000), however, the font no longer renders correctly. The exact same resources are still there, the site still functions as designed, just no fonts. I have pushed the site out to a Hosting Service and the problem persists there as well.
What about the server would prevent the fonts from rendering? EDIT: ADDED CODE The fo. It seems like a small mistake that I'm missing. I have a custom font-family (legally) that I host on the same web server as these websites ('domain.com', 'sub.domain.com' and fonts at 'domain.com/fonts/'). The font will always load in Safari, but never loads in Chrome/FireFox/IE.
I put a band-aid on the issue by importing most of the font-family from Google Fonts, but it's missing a few weights that these websites use, so it's not a permanent solution. But when the fonts are @import'ed in the main CSS file via Google Fonts, the fonts will of course load in Safari, Chrome, FireFox and IE. I had read somewhere that FireFox at least doesn't like loading fonts from the same (or different?) domain as the website itself. I tried hosting the font-family at another domain on the server, but still no dice on anything other than Safari. I am able to reach (display) the CSS file and download the font files (.woff) via any of those browsers, so I know the fonts are reachable from the Internet. The only thing I can think of is an issue with the font format (.woff), although according to caniuse.com, all major browsers support the.woff font format. I remember this not being an issue a year ago, back when I used TrueType (.ttf).
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |