#Techniques for Anti-Aliasing @font-face on Windows
It all started with an email from a client: Do these fonts look funky to you? The title is prickly.
The font in question was Port Lligat Sans from Google Web Fonts.
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- force older versions of IE (<= IE 9) to use JavaScript shiv for HTML5 tags --> | |
<!--[if lte IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> | |
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<!-- helps with tablets or phones viewing the site --> | |
<meta name="viewport" content="width=device-width"> |
[Desktop Entry] | |
Version=1.1 | |
Name=Sublime Text 2 | |
GenericName=Text Editor | |
Comment=Edit text files | |
Exec=sublime | |
Terminal=false | |
Type=Application | |
StartupNotify=true |
// Settings in here override those in "Default/Preferences.sublime-settings", and | |
// are overridden in turn by file type specific settings. | |
{ | |
// must have Droid font family installed | |
"font_face": "Droid Sans Mono", | |
// always use spaces, will provide better readability if opening in another IDE | |
// e.g. one "tab" may be 8 spaces in another IDE, but only 4 in Sublime | |
"translate_tabs_to_spaces": true, |
(function( window, document ) { | |
${1} | |
}( this, document)); |
{ | |
"files": | |
{ | |
"jquery" : "http://code.jquery.com/jquery-latest.min.js", | |
"jquery-dev" : "http://code.jquery.com/jquery-latest.js", | |
"json2" : "https://raw.github.com/douglascrockford/JSON-js/master/json2.js", | |
"backbone" : "http://backbonejs.org/backbone-min.js", | |
"backbone-dev" : "http://backbonejs.org/backbone.js", | |
"underscore" : "http://documentcloud.github.com/underscore/underscore-min.js", | |
"underscore-dev" : "http://documentcloud.github.com/underscore/underscore.js", |
<?php | |
class Api_${1}_Controller extends Base_Controller { | |
public $restful = true; | |
public function get_index() { | |
<snippet> | |
<content><![CDATA[ | |
/** | |
* ${1} | |
* ---------------------------------------------------------------- | |
* ${2} | |
*/ | |
${3} | |
]]></content> |
#!/bin/bash | |
yui='/usr/bin/yui-compressor/build/yuicompressor-2.4.8pre.jar' | |
j='/usr/bin/java' | |
for i in $@ | |
do | |
filename=${i%.*} | |
ext=${i##*.} |
#!/bin/bash | |
for i in $@ | |
do | |
echo "Converting $i -> ${i%.*}.sass" | |
# not sure any of the flags are neccessary but I put them in anyway | |
sass-convert --from scss --to sass --indent 4 $i ${i%.*}.sass | |
done |
#Techniques for Anti-Aliasing @font-face on Windows
It all started with an email from a client: Do these fonts look funky to you? The title is prickly.
The font in question was Port Lligat Sans from Google Web Fonts.