Comments (8)
The issue here is that different environments use different font rasterizers. If your targeted environment has good support for PostScript type hinting, you will probably want to use the OTF fonts. If, on the other hand, your targeted environment does not have good support for PS type hinting, you may prefer the TTF font versions and this is the reason for their existence. If you do not know what hinting your targeted environment rasterizer supports, you will want to test for yourself and make a judgement on the suitability of each format.
from source-sans.
@pauldhunt To clarify, we're actually talking about the WOFF versions of the font -- differences between the .ttf.woff and .otf.woff copies. But I guess the WOFF files are just thin wrappers around the TTF and OTF originals?
In the second image, the characters look vertically stretched ~1px (e.g. look at "o" or "m"/"n"), and the weight is heavier.
In this case the environment in question is basically Chrome 39, which uses DirectWrite on Windows. But I couldn't find good info online about how well DirectWrite supports PotScript hinting...
from source-sans.
To add to Paul's comment, when we hint the fonts we make no effort to match the rasterization of both formats pixel-by-pixel, because that would be close to impossible anyway.
The glyph outlines are the exact same size on both formats; any differences you see in terms of size and proportions at small rendered sizes are in big part the result of different rasterization algorithms, which the font is not in control of.
from source-sans.
But I guess the WOFF copies are just thin wrappers around the TTF and OTF originals?
Correct.
In this case the environment in question is basically Chrome 39, which uses DirectWrite on Windows. But I couldn't find good info online about how well DirectWrite supports PotScript hinting...
DirectWrite has very good support for PostScript hinting; it's lightyears better than GDI.
If one of Brackets' goals is to be cross-platform pixel-by-pixel, your best bet is to standardize on the OTF fonts. This is because DirectWrite uses Adobe's CFF rasterizer, which now happens to be open source. The Mac platform uses its own rasterization technology, but I expect that the OTFs will render more similarly between Mac & Windows than the TTFs ever will.
from source-sans.
I did not know the rasterizer was now open source - that's amazing news!
from source-sans.
@Pomax We announced it in May 2013. I'm surprised it's the first time you hear about it.
from source-sans.
I'll just add for clarification: it's part of FreeType.
from source-sans.
That's... very odd, I'm pretty sure I was on the opentype list well before then. Oh well, still great news, I'm just late to the party =)
from source-sans.
Related Issues (20)
- case issue with git and glyph layers HOT 2
- Add Kyrgyzstani som sign ⃀ (U+20C0)
- VF designspaces need public.skipExportGlyphs key set to match GOADB HOT 1
- Collision avoidance for Lithuanian letters HOT 2
- Issues with source sans 3 and Libreoffice PDF Export HOT 2
- Missing medium weight HOT 4
- Some Combining Diacritical Marks not rendered correctly HOT 1
- Source Sans (Pro) not rendered properly in some Windows applications HOT 6
- Incorrect rendering of letters of DIN 91379
- TTF vs OTF on Windows without smoothing HOT 3
- Missing glyphs ↊ and ↋ (turned digits 2 and 3) HOT 1
- Inconsistent zero in proportional numbers & small caps HOT 2
- U+33C7 SQUARE CO is rendered as "Ca" HOT 1
- No distinguish between ı́ and í HOT 2
- Interpolation problems in `SourceSans3-Italic[wght].ttf` HOT 1
- Ligature tie (e.g. "i͡a") renders with a left offset HOT 4
- Missing Proportional Capital Figures
- [Request] Non-descending Q for titling as alternate HOT 1
- [Request] Add Latin Letter Glottal I HOT 1
- [Request] Add Double Oblique Hyphen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from source-sans.