Manish Goregaokar
3b842c4f06
Merge pull request #3466 from Ms2ger/into_string
...
Remove redundant into_string() calls.; r=jdm
2014-09-24 08:10:17 +05:30
glennw
98222cf24c
Merge pull request #3459 from glennw/small-caps
...
Add support for small-caps font-variant.
2014-09-24 09:49:05 +10:00
Ms2ger
3a9e51ea17
Remove redundant into_string() calls.
2014-09-23 22:42:09 +02:00
Glenn Watson
f7b7a96961
Add fixme comment for future work, make scale factor a constant.
2014-09-24 06:00:46 +10:00
Manish Goregaokar
fcb25a35ec
Rename macros crate to plugins
2014-09-23 17:37:27 +05:30
Glenn Watson
0dd1b85739
Add support for small-caps font-variant.
...
Ref: 2554.
2014-09-23 14:21:41 +10:00
Simon Sapin
c228b81ca8
Merge pull request #3437 from SimonSapin/https-deps
...
Use HTTPS for Cargo dependencies
2014-09-21 11:00:34 +01:00
Simon Sapin
afe28ae422
Use HTTPS for Cargo dependencies
2014-09-20 21:19:09 +01:00
Keegan McAllister
dc86e83654
Eliminate warnings
2014-09-20 13:00:55 -07:00
Keegan McAllister
a640a7c5c3
Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)
2014-09-20 13:00:06 -07:00
Clark Gaebel
1b251db732
Merge pull request #3379 from cgaebel/bucketed-timing
...
Added more complex profiling metadata.
2014-09-18 09:12:34 -07:00
Clark Gaebel
6bc63d47cd
Added more complex profiling metadata.
2014-09-17 15:41:27 -07:00
Matt Brubeck
a939cc50bb
Fix doctest errors in rustdoc comments
...
Mostly this disables doctest for comments that are not actually tests.
2014-09-17 14:46:37 -07:00
Glenn Watson
d9662fc571
Fix font flickering due to missed check in font cache.
2014-09-16 14:35:22 +10:00
Jack Moffitt
e10206e91e
Reinstate errors for unused variables and imports.
2014-09-13 23:38:00 -06:00
glennw
883fc2e404
Merge pull request #3298 from glennw/fix-font-cache
...
Reduce number of font instances and shaper structures created.
2014-09-13 05:51:00 +10:00
Bryan Bell
0e86679464
Store one RenderState per-pipeline in the Compositor
...
This can later be used to decide whether the entire pipeline is ready
for rendering.
2014-09-12 10:47:51 -07:00
Glenn Watson
986db8073b
Print debug message instead of fail when unable to load web font. Fixes #3301 .
2014-09-12 14:32:53 +10:00
Glenn Watson
df48e33926
Fix comment and and reference to bug #3300
2014-09-12 14:00:55 +10:00
Glenn Watson
9ec3c9374d
Reduce number of font instances and shaper structures created.
...
The font cache previously kept weak references to the fonts,
however in layout these fonts are dropped before they are
referenced again, so no caching was being used.
For now, just hold a strong reference in the cache, which means
that fonts will never be thrown out (this will need to be fixed
in the future).
2014-09-12 13:17:44 +10:00
Glenn Watson
d218815394
Define constant parameters strings as statics.
2014-09-10 07:29:40 +10:00
Glenn Watson
cc24e68186
Improve quality of font rendering on Linux (and Android).
...
The freetype hinting only works on integer pixel sizes. For this
reason, the advance width metrics for a font of size 12.99 are
the same as the advance metrics for a font of size 12.0. This
results in small fonts appearing to overlap slightly, which is
particularly noticeable on parts of Wikipedia. Round the font
size up to a pixel boundary inside the freetype system.
Also fetch the system default fonts for the generic font families
rather than hard coding them.
These two changes make the font rendering on Linux very close
to the Firefox font rendering on Wikipedia.
2014-09-10 07:29:40 +10:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00