Commit graph

7456 commits

Author SHA1 Message Date
Brian J. Burg
77a5d8b107 Fix the linux build by stubbing out FreeType handles that haven't been implemented yet. Add some glue to create ScaledFonts for Cairo backend on linux. Closes #207. 2012-11-13 18:34:27 -08:00
Brian J. Burg
8d5759d8a6 Update rust-azure to fix the previous fix, which broke the Mac build (woops) 2012-11-13 14:53:32 -08:00
Brian J. Burg
ee0a3fe937 Update rust-azure for linux build breaks. Closes #170. Closes #207. 2012-11-13 14:35:29 -08:00
Brian J. Burg
0d135a4fa5 Finish implementing first cut at font matching. Closes #174. 2012-11-12 19:24:35 -08:00
Brian J. Burg
ebb9392587 Bump rust version. 2012-11-12 19:23:46 -08:00
Brian J. Burg
042a33e281 Add clean target for servo gfx; Clean servo_gfx when running make clean-servo. 2012-11-12 19:21:15 -08:00
Brian J. Burg
23c35c4c88 Don't pass around a managed font buffer since it's not shared, and not used by font table code at all. Fixes #176. 2012-11-12 15:24:25 -08:00
Brian J. Burg
ad353c3161 Update some TODO comments and other cleanup. 2012-11-12 14:57:39 -08:00
Brian J. Burg
b62537883a Comment out some spammy Font debug statements. 2012-11-12 14:34:27 -08:00
Brian J. Burg
81f84bce17 Clean up imports after rebasing across submodule mess. 2012-11-12 14:29:46 -08:00
Brian J. Burg
7a3a79dc36 Implement lazy font table loading from FontHandles for CoreText. Tracked by #195. 2012-11-12 14:13:43 -08:00
Brian J. Burg
a34f67d64b Clean up font-related constructor paths to not require a byte buffer;
add FontGroup construction and interaction with TextRun.

Closes #178.
2012-11-12 14:12:32 -08:00
Brian J. Burg
84216f838f Some hacks to make text line breaking a bit faster. 2012-11-12 14:10:59 -08:00
Patrick Walton
7bbff6154c gfx: Rename servo-gfx-2 to servo-gfx 2012-11-12 12:28:20 -08:00
Patrick Walton
463b80090c Remove the servo-gfx submodule 2012-11-12 12:08:38 -08:00
Patrick Walton
5e70e3b153 servo: Add missing util.rs 2012-11-11 21:03:47 -08:00
Patrick Walton
a38887194f submodules: Split out GFX and all its dependencies into a servo-gfx submodule 2012-11-11 19:42:44 -08:00
Patrick Walton
6d4cb4319d layout: Use the style of the nearest common ancestor node for background colors 2012-11-11 17:12:30 -08:00
Patrick Walton
8c3b8fe3d4 css, submodules: Implement named-ancestor-node 2012-11-11 14:31:49 -08:00
Patrick Walton
b0f185412d layout, submodules, test: Stop crashing on Acid1 2012-11-11 14:16:01 -08:00
Patrick Walton
64fb0fbe60 dom, gfx, layout, submodules: Implement "color" 2012-11-10 23:44:18 -08:00
Patrick Walton
7917da2f8c html: Handle inline stylesheets. purple.com works now. 2012-11-10 15:15:33 -08:00
Patrick Walton
f249396712 Set number of cores = 1 due to suspected Cairo thread unsafety 2012-11-09 19:23:08 -08:00
Brian J. Burg
0034e2d6be Move FontFamily/FontEntry to font_list.rs; implement strawman family/face matching. 2012-11-09 19:18:11 -08:00
Brian J. Burg
c5161f1823 Finish collecting and storing FontList data. 2012-11-09 19:12:04 -08:00
Patrick Walton
b1c59aba61 Add some timing info, update rust-azure to fix crash 2012-11-09 19:10:51 -08:00
Patrick Walton
4303419865 Implement parallel rendering 2012-11-09 17:58:51 -08:00
Patrick Walton
a338c76bc6 gfx: Use pipes to transfer layer buffers between the render supervisor function and the render callback 2012-11-09 16:36:00 -08:00
Patrick Walton
dbcb85b724 gfx: Turn on 512x512 tiles once again, and work around the layer buffer badness 2012-11-09 16:18:17 -08:00
Patrick Walton
76b1344274 gfx: Supply our own buffers to accommodate the Mac DMA requirements 2012-11-09 15:58:26 -08:00
Brian J. Burg
52fddb0b33 Update submodules for new text debugging. 2012-11-09 15:16:21 -08:00
Brian J. Burg
f9f62017f2 Add make clean-fast target, and clean up make check/check-all. 2012-11-09 15:16:21 -08:00
Brian J. Burg
95e022a094 Update submodules to fix duplicate CTFont binding; start debugging quartz font traits. 2012-11-09 15:16:21 -08:00
Brian J. Burg
e3e1cfb0dc Submodule 'done' dependencies were being incorrectly computed, because the wrong name was used. 2012-11-09 15:16:20 -08:00
Patrick Walton
6fdc293671 Throw away the initial texture immediately 2012-11-09 14:10:00 -08:00
Patrick Walton
be62d11283 gfx: Antialias fonts 2012-11-09 11:31:14 -08:00
Patrick Walton
b338fc82ff submodule: Update rust-azure 2012-11-09 11:05:40 -08:00
Patrick Walton
013f747fa8 servo: Allow a render backend to be specified on the command line (-r) 2012-11-09 10:51:30 -08:00
Patrick Walton
b1456dac39 Make Opts no longer a record 2012-11-09 10:01:04 -08:00
Patrick Walton
bc591ce94f De-Cairo font handling.
This breaks Linux/Freetype.
2012-11-08 20:00:16 -08:00
Patrick Walton
aa8de5041b gfx: De-Cairo layers 2012-11-08 20:00:16 -08:00
Brian Anderson
3cbb257ef9 Update rust-netsurfcss, rust-css 2012-11-08 19:39:14 -08:00
Brian J. Burg
2db432663f Add FontHandleMethods trait; add ctor and FontHandle member for FontEntry; add debug info for CTFont name key information. 2012-11-08 19:14:57 -08:00
Brian J. Burg
bf4fedc420 Use high-level CTFont bindings. 2012-11-08 18:30:22 -08:00
Brian J. Burg
4686731096 Switch QuartzFontHandle to use RAII CGDataProvider bindings. 2012-11-08 17:58:13 -08:00
Brian J. Burg
a76ae6b992 Add core-foundation as a dependency of core-graphics. 2012-11-08 17:58:13 -08:00
Brian Anderson
5d63fd3576 Update to Rust 166c10e666634cd2fa8615c65d839d63322a2d5b 2012-11-08 17:26:51 -08:00
Brian J. Burg
1339163907 Update Rust to commit 1702024 2012-11-08 16:54:11 -08:00
Brian J. Burg
577303514d Hook up optional FontList instance to FontContext. 2012-11-08 15:23:28 -08:00
Brian J. Burg
eacf27263e Fix test bustage in util::cache. 2012-11-08 11:26:23 -08:00