inconsistent font-family selection on Chrome mobile - font-family

My pretty simple web page has an internal stylesheet that contains:
BODY { font-family:Segoe UI; }
This works in Chrome and IE, on both desktop and mobile. Only for IOS/Safari, this doesn't work, I need an alternative font there (don't I?).
The issue: when I add any alternative font-family, Chrome on mobile no longer uses Segoe UI. E.g. when I change the style above to:
BODY { font-family:Segoe UI, Open Sans, sans-serif; }
then Chrome on mobile (tested under Oreo 8.1 with latest version Chrome) no longer uses Segoe UI. Using single or double quotes doesn't make a difference.
Any ideas about cause and/or solutions?

After looking better: on mobile, Chrome can't display 'Segoe UI'. When no alternative is mentioned in the stylesheet, Chrome chooses Roboto.

Related

Does angularJs validation work in safari?

I have implemented the from which works in Chrome, Firefox and IE, but don't know why it's not working in Safari ..
Here is my plunker.
There is a bug using Safari and if css contains:
-webkit-transition: border-color, box-shadow ease-in-out .15s;
(for example: form-controll in bootstrap uses it)
The form validation becomes invalid forever.
I used Safari on PC so I have no idea if it is also happen in Mac.

Font face rendering on actual Kindle Fire but NOT online KDP Kindle Previewer

I have a font face loaded for KF8 and it shows up perfectly on the desktop previewer and on my physical Kindle Fire. However, when I load it onto the KDP online previewer, it ignores the font entirely and resorts to the default font settings.
Has this happened to anyone? Are there "safe" KF8 fonts that you've been able to render on the online previewer? Tangerine is a Google web font, only available as a ttf, but I've converted it to an otf and woff, and tried it as such but to no avail. I need a script font for this book of poetry.
Would there be a media query to target the online previewer?
Also, will wrong font (default Kindle font) on the online previewer be what is shown on the Look Inside preview?
My CSS:
#font-face {
font-family: "Tangerine_Bold.ttf";
src: url("Tangerine_Bold.ttf");
}
More CSS in a amzn-kf8 media query:
.section {
font-size: 2.3em;
font-family: "Tangerine_Bold.ttf", serif;
}
OPF:
<item id="font2" href="Tangerine_Bold.ttf" media-type="application/x-font-ttf"/>
I've also tried it as font/ttf and that worked fine, too.
The font looks superb on the actual Kindle. Please help! Amy
The Kindle Previewers, either on-line or stand-alone app, are not guaranteed to be a completely faithful replica of what happens on every device. I have the same problem, actually, with the Nook web previewer (which is also what people use to view samples of a book before buying); it doesn't display data URI-based images (showing a little broken GIF icon instead). In any case, why are you concerned that the KDP previewer is not showing your font?

Font characters not showing in Firefox and IE9

I made a custom font for a set of icons using Inkscape and used the Free Online Font Converter and Font Squirrel to generate the different font types (woff, eot, ttf, svg) and the #font-face code for inclusion.
The font works fine in Google Chrome with the ttf, svg and woff-font and in Internet Explorer 7 and 8, but in FireFox 13 and IE9 certain icons do not get rendered. The other icons of the font do work correctly, so there is no problem with the file getting delivered. Also because the fonts work in Chrome, the conversion seems to have succeeded.
I think the problem has something to do with the type or shape of the icons I'm using, but I can't find anything in particular that differentiates these two icons from the others I have used.
The problem can be reproduced in my ASP.NET project, but also locally using the testfiles which Font Squirrel supplies.
Update: Still did not figure out the solution, but I found out that when the same TTF-font is installed in Windows, it does work in Firefox. But when it is referenced through #font-face, it does not.
Going to guess it has something to do with the fact that either your fonts or your font's CSS is not being called from the same domain. Both Firefox and IE9 enforce a Same-Domain Origin Restriction. Therefore do not use domains in your link tags or your CSS font-face code.

Why does Firefox have a min-width minimum of 615px?

I'm extremely new to Media Queries so I was playing with the min-width: attributes with my Firefox 12.0 and noticed that it just wasn't working. After some playing around and after experimenting with this lovely website
http://barrow.io/lab/media-query-viewport/
I found out that the minimum min-width that my Firefox supports on my machine (it's an XP box) is 615px. Why? I'm trying to play with Media Queries so that I can make a website that works well on many devices as well as desktops. This includes devices that are 480 and 320 pixels wide. With Firefox not allowing me to test the smaller widths it's going to seriously affect my development.
Is there any kind of a work-around for this other than trying a different browser?
Thanks.
EDIT: Now that my Firefox has gone through a few upgrades (now at v22) this is not longer a problem. I'm glad it got fixed.
As of this: http://support.mozilla.org/en-US/questions/772847#answer-125895,
Firefox supports no more than 480 width, so if you want to test for 320 px, you must use a different browser. I would point out that if you want to test smartphones on your site, you should be using smartphone browsers on smartphone hardware... not just desktop browsers set to really small resolutions, which is what it sounds like you were trying to do.
There's a simple workaround: load the site in an iframe of your desired width.
Oh, and as for why, the behavior you observe is due to the Firefox user interface not shrinking down below a certain width for some reason. Often due to extensions mucking with the UI.
Use the Web Developer toolbar extension and you can see a selection of common screen sizes by selecting Resize > View Responsive Layouts
Here is the simple solution
install chromEditPlus Plugin from here http://webdesigns.ms11.net/chromeditp.html
And then Goto Tool-> ChromEdit Plus-> ChromEdit
select userChrome.css pannel
copy and pate below code Save then restart
#namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#main-window:not([chromehidden~="toolbar"]) {
min-width: 200px !important;
}
Thus solved the Problem this made your windows minimun to 200px
Thanks

Google Maps v3 breaks Safari 5.0.5 Mac OS X font rendering

When I embed a Google map into a web page and view it in Safari 5 on Mac all fonts before the map widget are ok, but fonts after seem to loose antialiasing and look ugly. Does anybody bumped into such thing? How can one fix this?
Try applying
.map{
-webkit-transform:none;
z-index:10;
}
to the google map div/frame
Had the same issue. The elements you're applying cufon on cannot be position:absolute;
It's also a Safari 5 OSX specific bug.

Resources