#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.
(function ($) { | |
$.fn.ajaxloader = function () { | |
var ajaxloader = $('<div class="Ajax-Loader"><div class="Ajax-Loader-Overlay"></div><div class="Ajax-Loader-Image ui-corner-all"><img src="DesktopModules/DondeCompro/UI/recursos/img/loadinfo.net.gif"/></div></div>'); | |
this.after(ajaxloader); | |
ajaxloader.css('top', this.position().top).width(this.outerWidth()).height(this.outerHeight()); | |
ajaxloader.find('.Ajax-Loader-Overlay').css('opacity', 0.5).width(this.outerWidth()).height(this.outerHeight()); | |
ajaxloader.find('.Ajax-Loader-Image').css('top', -((ajaxloader.height() / 2) + 36)); | |
ajaxloader.hide(); | |
return ajaxloader; | |
}; |
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
- index.js | |
- package.json | |
- public/js/main.js | |
- public/index.html | |
- css/bootstrap-responsive.min.css | |
- css/flatly-bootstrap.min.css |
#include <QApplication> | |
#include <QJsonDocument> | |
#include <QJsonObject> | |
#include <QJsonArray> | |
#include <QJsonParseError> | |
#include <QFile> | |
#include <QDebug> | |
struct DeskWallpaper { | |
int width; |
# fetch Oxide WebView repo | |
bzr branch lp:oxide | |
# install gclient | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
export PATH=$PATH:`pwd`/depot_tools | |
# get Chromium source and dependencies (~7.8G) | |
cd oxide/chromium/ | |
gclient sync --gclientfile=../gclient.conf |
.box{ | |
background: url(http://store.aksaramaya.com/publication/book/cover/9fb43815385cde231e67d05de91e58_175x250.png) no-repeat; | |
height:250px; | |
width:175px; | |
box-shadow: 1px 3px 10px rgba(0,0,0,.5); | |
margin:40px auto; | |
} | |
.shd{ | |
position:relative; | |
} |
.box{ | |
background: url(http://i.imgur.com/R8Vnu2j.png?1) center; | |
height:384px; | |
width:100%; | |
} | |
.shd{ | |
position:relative; | |
} | |
.shd:before{ | |
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 66%, rgba(0,0,0,0.38) 100%); /* FF3.6+ */ |
<html> | |
<head> | |
<title>E-Directory Listing</title> | |
<!-- <link href="css/bootstrap.css" rel="stylesheet"> --> | |
<link href="css/style.css" rel="stylesheet"> | |
<!-- <link href="css/simpletextrotator.css" rel="stylesheet"> --> | |
<link href="css/flip.css" rel="stylesheet"> | |
<script src="/js/jquery-1.10.2.min.js"></script> | |
<script src="/socket.io/socket.io.js"></script> |
#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.
#!/usr/bin/env python | |
import time | |
import os | |
import RPi.GPIO as GPIO | |
GPIO.setmode(GPIO.BCM) | |
DEBUG = 1 | |
# read SPI data from MCP3008 chip, 8 possible adc's (0 thru 7) | |
def readadc(adcnum, clockpin, mosipin, misopin, cspin): |