This document summarizes techniques for building web reading applications. It discusses using modular scripts and responsive design for building structured web apps. It also covers HTML5 concepts, web apps versus native apps, and keeping code DRY. Additionally, it provides examples of using Stylus and Jade for CSS preprocessing and templating. Key techniques discussed include range and selection, real-time collaboration, web storage, widgets, typography, font rendering, and intelligent page splitting for responsive layouts across devices.
26. Font Rendering
Rasterization
Black and white
Grayscale
Subpixel
Windows
http://www.smashingmagazine.com/2012/04/24/a-closer-look-at-font-rendering/
27. MAC OS Windows
Quartz rendering engine font format has a
for all browsers significant impact
hinting math
subpixel rendering
look a bit “sticky”
TrueType PostScript
new engine rasterizer
ignore IE 6/7/8
ref x
full pixel grayscale(XP)
GDI ClearType(Win7)
DirectWrite mode (IE9)
28. gdipp http://code.google.com/p/gdipp/
The gdipp (codename) project is a replacement of the
Windows text render, which brings to you the effect
of text like Mac OS and Linux distributions.
DEMO
29. mathematical formula
LaTex to MathML
MathML SVG LaTex
iOS / Android
HTML & CSS
Web SVG
http://www.mathjax.org/demos/mathml-samples/
https://developer.mozilla.org/en/Mozilla_MathML_Project/