среда, 19 июля 2017 г.

A couple of days ago, my installation of Google Chrome updated itself from version 49 to version 50. The timing was fortuitous and relieved me of a growing headache.



A few days before the update I had been looking closely at how a draft of [my book](http://book.webtypography.net) was rendering in browsers on my Macbook (non-Retina, running OS X 10.11.4 El Capitan). I was confused to see that Chrome was rendering text much lighter than Safari:





![Screenshots of Chrome 49 and Safari](/images/2385/safari-chrome49.png)

left: Chrome 49; right: Safari




My immediate thought was that for some reason Chrome was using greyscale anti-aliasing while Safari was rendering with subpixel-antialiasing as per its default. To verify this I changed Safari’s rendering to greyscale using:



-webkit-font-smoothing: antialiased



As expected this lightened Safari’s text rendering and to the naked eye made the text look the same grade as in Chrome. I don’t approve of turning off subpixel-aliasing – I believe [it’s there for a reason](http://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/) – so I tried forcing subpixel-antialising in Chrome with



-webkit-font-smoothing: subpixel-antialiased;



but it had no effect, so I tried to find out why Chrome was using greyscale smoothing.



I use Chrome as my everyday browser. I don’t often open Safari on my laptop. Somehow it had escaped my attention that text everywhere on the web was being rendered lighter in Chrome, and not because it was using greyscale smoothing. In fact Chrome was still using subpixel-antialiasing almost everywhere, including on my book page, as a closer inspection eventually revealed:





![Zoomed rendering in Chrome 49](/images/2385/chrome49-zoom.png)

![Zoomed rendering in Safari](/images/2385/safari-zoom.png)

Coloured subpixels in Chrome 49 (left) and Safari (right)




That was even more confusing, but at least it gave me a different vector of investigation. I duly uncovered this bug report in Chromium: [Font rendering is lighter than Safari / Firefox on OS X El Capitan](https://bugs.chromium.org/p/chromium/issues/detail?id=541846). In turns out Firefox had a similar bug reported: [Text is thin on OS X](https://bugzilla.mozilla.org/show_bug.cgi?id=1230366). These two reports combined seemed to explain everything. Safari uses Apple’s proprietary Core Text for rendering text. Chrome and Firefox (and Opera) all use the [Skia Graphics Library](https://skia.org/). The way Skia was being used to render text meant that text ended up lighter in weight than with Safari’s use of Core Text.



Less than an hour after I finally pieced that together, Chrome updated itself with a fix that changed the way text rendered and the problem went away. Text is still a slightly lighter grade in Chrome than Safari and Firefox, but not problematically so:





![Screenshots of Chrome 50 and Safari](/images/2385/safari-chrome50.png)

left: Chrome 50; right: Safari




Thank you Blink and Gecko contributors for caring enough to notice and fix this issue.


Read or add comments



In which I make my way around the City searching for sophisticated yet sober cocktails.

Cocktails, mocktails and local eats, like popcorn, nuts and salami meats.

picture photograph image taken on my iphone 2009 copyright of sam breach http://becksposhnosh.blogspot.com/

Last week marked my return to a scene I had been taking a break from for the first half of 2009. A group of my friends get together on a regular basis, to try out cocktail bars all over the City. Initially I reigned in my attendance on account of the effects of the recession, but after cutting back on alcohol too, I wasn't sure if there would be any reason to ever return to these highly spirited gatherings. Eventually I missed the social aspect too much and I wanted back in. Plus, these days I am intrigued - just what is a mixologist who doesn't have alcohol to fall back on, capable of creating?

Clock Bar: Westin St. Francis, 335 Powell St, San Francisco, CA 94102, (415) 397 9222 [Website]
Visit: July 2009
Menu: No non-alcholic cocktails listed. [menu here]
Bartender's reaction: The first bartender I spoke to wasn't wildly enthusiastic at the notion of creating a non-alcholic cocktail. "It's just going to be juice", she remarked. After being pushed a little further by my requests for some something more imaginative she suggested making a dry version of their "Scottish Mule" - fresh lime, cucumber and ginger beer without the gin. The resulting drink, made by her male colleague, was great; refreshing, perfectly balanced and with very subtle nuances of cucumber. Bartender #2 was much more game for being experimental and he made me a second drink with lime and muddled rosemary. The result wasn't as successful, but I appreciated the attempt. Full marks for trying.
Price: Mocktails: $5 each.



Previously on Mocktails of the City: The Alembic.

© 2009 Sam Breach
Sweet, Simple, Fresh and Bright

picture photograph image strawberries - wholewheat sables - strained yogurt 2008 copyright of sam breach http://becksposhnosh.blogspot.com/

At this time of year, for pot lucks, BBQs and other gatherings where you might want to serve up something sweet to a large number of people, I can't recommend this combination enough. I've served this trio of fresh fruit, top-notch dairy and nibbly, buttery cookies to different crowds on more than one occasion and, to date, it's always been met with enthusiasm raptures of delight*.

-Strawberries from Swanton & Dirty Girl: Hulled, sliced and sprinkled with a little sugar to draw out their juices and make them glisten.
-A quart of St Benoit's delicious plain Yoghurt, strained for several hours, to thicken.
-A Syrup made by briefly simmering a little water, sugar and a few damaged strawberries together with six Rose Geranium leaves (from Eatwell Farm) before straining, ready to dribble over both the yogurt and strawberries.
-Wholewheat cocoa-nib sables made with crunchy, nutty home-ground wheat flour (wheatberries also from Eatwell Farm) and local Straus organic butter from a recipe in Pure Desserts by Alice Medrich. [One of my very favourite recipe books from the last year.]



(*for proof, see Anood's comment, thanks Anood)



Archives
2007 | Steak House Sublime
2005 | The Pump Rooms - Bath - England

© 2009 Sam Breach
See the kinds of moves they make



We stumbled across this delicious-looking collection of captured wild sausages a few days ago in England and my mum took this little video on her cell phone. Can you guess where we saw them?




© 2009 Sam Breach
Donald Trump will keep his Twitter account as President and will not switch to the Twitter account designated for POTUS



Read more on writenews.com




With those four words, a diet is forsaken.

picture photograph image seasonal treats for August from Michael Recchiuti 2009 copyright of sam breach http://becksposhnosh.blogspot.com/

Today I visited Michael Recchiuti's flagship store in the San Francisco Ferry Building to stock up on gifts to take to my family when I head to England, tomorrow, to visit them. Whilst shopping, something new to the Recchiuti range caught my eye, so I had to buy myself a little present too. I was told that this is a seasonal item available for this month only...




© 2009 Sam Breach
I really should explain this one, but I thought it might be more interesting if I didn't.





captured
camera
lens
focal length
aperture
shutter speed
shooting mode
exposure bias
metering mode
ISO
flash
image quality
RAW converter
image editor
plugins (etc)
cropped?

1.00pm on 16/3/15

Fujifilm X-T1

XF 16-55mm f/2.8 R LM WR

32mm

f/16

1/180

manual

n/a

average

200

Profoto B1

RAW

Camera Raw

Photoshop CC (2015)

none

1x1