Chhavi221 / googlefontdirectory

Automatically exported from code.google.com/p/googlefontdirectory
0 stars 0 forks source link

Droid Sans #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Droid Sans font has some errors where the descenders extend beyond the 
defined limits of the font.  This is easiest to see in Windows, just open the 
the font in the font viewer and look at the letters 'g','j', or 'y', especially 
at small font sizes.  The bottom gets cut off.

The font as it exists in the latest Android SDK (though the build ID is the 
same?) helps quite a bit, though it still truncates a bit at some sizes.  
Please note, if looking at these in Windows Font Viewer, you must not have them 
open at the same time, as Windows will simply display twice whichever was 
opened first.

I have not thoroughly checked any other Droid variants, but they should all 
probably be updated.

Thanks,
Dan

Original issue reported on code.google.com by dbwe...@gmail.com on 9 Jun 2010 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry for the generic title on this defect report!

Original comment by dbwe...@gmail.com on 9 Jun 2010 at 6:58

GoogleCodeExporter commented 9 years ago
On this Windows Vista machine, the descenders appear correctly at 18, 22 and 
27px. Might be useful to someone until the issue gets fixed. 

See http://stackoverflow.com/questions/2967004/

Original comment by webs...@sesame.co.uk on 10 Jun 2010 at 11:20

GoogleCodeExporter commented 9 years ago
To extend the issue here a bit, going with the generic title, the bold variant 
doesn't render in Firefox 3.6.4. Instead, the bold variant simply renders as 
the regular variant.

Original comment by inov...@gmail.com on 23 Jun 2010 at 6:05

GoogleCodeExporter commented 9 years ago
It seems the Descent value encoded into the DroidSans.ttf file (420) is too 
small, the letter 'g' might need a value around 500. Using ttx from the Debian 
fonttools package, i adjusted "hhea/descent value" and "OS_2/usWinDescent 
value" accordingly.

The resulting ttf/eot files shouldn't show the reported effect for letters g, 
y, and j anymore (see DroidSans-500.zip).

[The em-size (Ascent+Descent) now is 2162 (before: 2082). Somewhere it is said, 
it should be a power of two, e.g. 2048 or 4096. Not knowing the TrueType format 
well, i suppose a bit more has to be done than just increasing the descent 
value to get it right, but the resulting eot file seems to work anyway.]

Original comment by mt4...@googlemail.com on 1 Jul 2010 at 3:16

Attachments:

GoogleCodeExporter commented 9 years ago
@mt4swm, thanks a lot, it worked!
Any workaround for DroidSans-Bold.ttf also?
Once again, thanks mate! :)

Original comment by ziv...@gmail.com on 2 Jul 2010 at 1:39

GoogleCodeExporter commented 9 years ago
I attached a new zip file where the workaround has been applied to some more 
variants (sans-bold and serif-*).

Original comment by mt4...@googlemail.com on 2 Jul 2010 at 11:16

Attachments:

GoogleCodeExporter commented 9 years ago
This should be fixed as of the most recent commit. Thanks to Josh Hadley for 
providing fixed font files!

One thing to be aware of is that the changes may add extra line space to the 
layout of existing designs that use the font.

Original comment by raph.lev...@gmail.com on 4 Aug 2010 at 6:14

GoogleCodeExporter commented 9 years ago
Hi guys, I seem to have come across the issue of the descenders on the Droid 
Serif variants being cut off in most browsers on windows, I obtained the font 
kit from fontsquirrel. I happened upon this old thread via a google search. The 
last zip in the thread contains fonts that are labelled as serif but aren't 
actually serif in the previews. I was wondering if anyone had the correct font 
files that contain the fix you guys spoke about?

Original comment by animaldl...@googlemail.com on 12 Apr 2013 at 4:01

GoogleCodeExporter commented 9 years ago
You can download the font direct from Google here:

http://www.google.com/fonts#UsePlace:use/Collection:Droid+Serif

(check the boxes, use the little down-arrow icon)

I imagine this is the latest, fixed version, but didn't verify.

Original comment by dbwe...@gmail.com on 12 Apr 2013 at 5:51