Commit Graph

153 Commits

Author SHA1 Message Date
Martin Algesten 2e97ea2d63 font_path may be null 2017-05-15 20:45:03 +02:00
bors-servo 9648cb5b87 Auto merge of #56 - nox:core-graphics, r=KiChjang
Update core-graphics to 0.7

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/56)
<!-- Reviewable:end -->
2017-02-17 15:40:11 -08:00
Anthony Ramine cd2d4540ea Update core-graphics to 0.7 2017-02-18 00:38:42 +01:00
bors-servo f59cee725b Auto merge of #55 - jrmuizel:update-deps, r=jdm
Update core-graphics and core-foundation dependencies

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/55)
<!-- Reviewable:end -->
2017-01-26 20:31:42 -08:00
Jeff Muizelaar f6320819a0 Update core-graphics and core-foundation dependencies 2017-01-26 11:26:34 -05:00
bors-servo 986903fd00 Auto merge of #54 - changm:core-graphics, r=jdm
Update to use core-graphics 0.5

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/54)
<!-- Reviewable:end -->
2017-01-13 17:01:01 -08:00
Mason Chang da156f7296 Update to use core-graphics 0.5 2017-01-13 17:00:00 -08:00
bors-servo a93150b6da Auto merge of #53 - jrmuizel:kcolor, r=jdm
Add kCTFontColorGlyphsTrait

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/53)
<!-- Reviewable:end -->
2016-10-31 12:24:22 -05:00
Jeff Muizelaar 928c0e96d4 Add kCTFontColorGlyphsTrait 2016-10-31 13:17:37 -04:00
bors-servo 3e2e5d62b9 Auto merge of #52 - servo:travis, r=nox
Test on stable.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/52)
<!-- Reviewable:end -->
2016-08-03 04:05:59 -05:00
Ms2ger bcac61315e Test on stable. 2016-08-03 10:47:11 +02:00
bors-servo 7de1ec014d Auto merge of #51 - nox:core-graphics, r=Ms2ger
Update core-graphics to 0.4

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/51)
<!-- Reviewable:end -->
2016-08-03 03:09:51 -05:00
Anthony Ramine 1c75161962 Update core-graphics to 0.4 2016-08-03 10:04:32 +02:00
bors-servo 5e55c6198e Auto merge of #50 - mbrubeck:units_per_em, r=pcwalton
Add binding for CTFontGetUnitsPerEm

Needed for implementing fast-path kerning on Mac OS. r? @pcwalton

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/50)
<!-- Reviewable:end -->
2016-05-19 10:34:06 -07:00
Matt Brubeck e3c50e0d56 Add binding for CTFontGetUnitsPerEm 2016-05-19 08:59:50 -07:00
bors-servo 4e1981abbf Auto merge of #49 - servo:core-graphics, r=pcwalton
Allow core-graphics 0.3

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/49)
<!-- Reviewable:end -->
2016-03-09 08:19:55 +05:30
Anthony Ramine a14b9c3990 Allow core-graphics 0.3 2016-03-09 03:49:04 +01:00
bors-servo 3153201097 Auto merge of #48 - servo:meta, r=mbrubeck
Add some metadata.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/48)
<!-- Reviewable:end -->
2015-12-12 04:36:47 +05:30
Ms2ger a4ce7a8015 Add some metadata. 2015-12-11 18:05:55 -05:00
bors-servo d5f6324ddf Auto merge of #47 - servo:bump, r=mbrubeck
Update the version number.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/47)
<!-- Reviewable:end -->
2015-12-12 04:30:01 +05:30
Ms2ger 33adff9bc5 Update the version number. 2015-12-11 17:57:59 -05:00
bors-servo 1f4f3756bb Auto merge of #46 - antrik:bump-core-graphics, r=Ms2ger
Update core-graphics dependency to 0.2

This is what the rest of Servo is using -- so bump it here as well to
avoid test-tidy failure.

Note that this is indeed the version Servo is currently using core-text
with (as Servo still has a revision of core-text that didn't specify any
version constraints) -- so we are rather certain that this combination
works.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/46)
<!-- Reviewable:end -->
2015-12-12 04:23:34 +05:30
Olaf Buddenhagen 86729c6881 Update core-graphics dependency to 0.2
This is what the rest of Servo is using -- so bump it here as well to
avoid test-tidy failure.

Note that this is indeed the version Servo is currently using core-text
with (as Servo still has a revision of core-text that didn't specify any
version constraints) -- so we are rather certain that this combination
works.
2015-12-11 23:39:33 +01:00
bors-servo a9361cb002 Auto merge of #45 - antrik:debug, r=metajack
Derive Debug for CTFont, CTFontCollection, CTFontDescriptor

These are all the structs as far as I can see.

Note that this is entirely untested... Let's see whether I got it right :-)

(Needed for https://github.com/servo/servo/pull/8908 )

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/45)
<!-- Reviewable:end -->
2015-12-11 11:55:09 +05:30
Olaf Buddenhagen 43d0edb208 Derive Debug for CTFont, CTFontCollection, CTFontDescriptor
These are all the structs as far as I can see.
2015-12-10 00:56:29 +01:00
bors-servo a0c138859b Auto merge of #44 - servo:explicit-dependencies, r=Ms2ger
Use more explicit dependency versions

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/44)
<!-- Reviewable:end -->
2015-12-08 20:01:05 +05:30
Corey Farwell 4a20a710f8 Use more explicit dependency versions 2015-12-08 09:00:43 -05:00
bors-servo 7baa6a7ae1 Auto merge of #43 - pcwalton:draw, r=metajack
Add support for drawing glyphs and fetching their bounding rects

r? @metajack

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/43)
<!-- Reviewable:end -->
2015-10-29 05:58:07 +05:30
Patrick Walton ebd9b347ac Add support for drawing glyphs and fetching their bounding rects 2015-10-28 17:28:01 -07:00
bors-servo 7140635fa8 Auto merge of #42 - pcwalton:url, r=glennw
Allow the URL of the Core Text font to be fetched.

This allows FreeType to load Core Text fonts, which is necessary for
WebRender (unless we want a Quartz backend for WebRender).

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/42)
<!-- Reviewable:end -->
2015-09-30 18:51:57 -06:00
Patrick Walton 8380931660 Allow the URL of the Core Text font to be fetched.
This allows FreeType to load Core Text fonts, which is necessary for
WebRender (unless we want a Quartz backend for WebRender).
2015-09-30 17:50:30 -07:00
bors-servo d97cd4ae33 Auto merge of #40 - pcwalton:clone, r=metajack
Add a `Clone` impl to `CTFont`

r? @metajack (or whoever)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/40)
<!-- Reviewable:end -->
2015-07-31 08:27:53 -06:00
bors-servo 904c42ba3a Auto merge of #41 - metajack:homu-travis, r=metajack
Add Travis notfications for Homu



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/41)
<!-- Reviewable:end -->
2015-07-31 08:18:26 -06:00
Jack Moffitt bde9c0589e Add Travis notfications for Homu 2015-07-30 19:52:06 -06:00
Patrick Walton e2fd92cb23 Add a Clone impl to CTFont 2015-07-30 18:05:20 -07:00
Jack Moffitt c12e41b351 Merge pull request #39 from frewsxcv/travis
Build and test on Travis CI
2015-06-10 10:23:29 -06:00
Corey Farwell 606d3f8d1e Init README 2015-06-09 20:53:58 -07:00
Corey Farwell cf701bb1e4 Build and test on Travis CI (OSX) 2015-06-09 20:53:25 -07:00
Josh Matthews 54080aaa67 Merge pull request #38 from metajack/modern-conventions
Use modern crate naming conventions.
2015-06-04 11:41:10 -04:00
Jack Moffitt 87015a1187 Use modern crate naming conventions. 2015-06-04 09:30:40 -06:00
Glenn Watson 7d3e335dd8 Merge pull request #37 from metajack/platform-deps
Use platform deps and remove cruft.
2015-06-03 16:16:55 +10:00
Jack Moffitt fada42a6c8 Remove cfgs. 2015-06-02 23:43:28 -06:00
Jack Moffitt 56c2f7bc25 Use platform deps and remove cruft. 2015-06-02 23:33:31 -06:00
Ms2ger 2b4b546718 Merge pull request #36 from servo/rustup_20150414
Upgrade to rustc 1.0.0-dev (47551b574 2015-04-14) (built 2015-03-18); r=Ms2ger
2015-05-05 16:11:53 +02:00
Simon Sapin bc6994c376 Upgrade to rustc 1.0.0-dev (47551b574 2015-04-14) (built 2015-03-18) 2015-04-23 18:33:00 +02:00
Josh Matthews 57605861d6 Merge pull request #35 from servo/rustup_20150311
Upgrade to rustc 1.0.0-dev (d3c49d214 2015-03-10) (built 2015-02-24)
2015-03-18 09:58:47 -04:00
Josh Matthews 8809f01144 Upgrade to rustc 1.0.0-dev (d3c49d214 2015-03-10) (built 2015-02-24) 2015-03-13 11:38:40 -04:00
Ms2ger e769be9cb3 Merge pull request #34 from servo/rustup_20150109
Fix usage of from_str and prelude removals; r=Ms2ger
2015-01-28 14:06:38 +01:00
Josh Matthews b5cb339053 Fix usage of from_str and prelude removals. 2015-01-15 15:54:25 -05:00
glennw cc23dbab0d Merge pull request #33 from servo/rustup_20141221
Upgrade to latest Rust.
2015-01-06 11:33:34 +10:00