aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/text/text_run.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix match_refs and let_returns in layout, address review changesManish Goregaokar2015-09-041-3/+2
|
* Remove needless returnsManish Goregaokar2015-09-041-1/+1
|
* Fix existing syntactics nits.Josh Matthews2015-08-161-1/+1
|
* Basic support for bidirectional textMatt Brubeck2015-07-231-8/+51
|
* gfx: Make display lists serializable using `serde`.Patrick Walton2015-07-151-2/+2
| | | | | | | | | This commit introduces the `serde` dependency, which we will use to serialize messages going between processes in multiprocess Servo. This also adds a new debugging flag, `-Z print-display-list-json`, allowing the output of display list serialization to be visualized. This will be useful for our experiments with alternate rasterizers.
* Remove dead code from gfx/textMatt Brubeck2015-07-141-74/+0
|
* Remove `get_` prefix on gettersCorey Farwell2015-06-021-1/+1
| | | | | | Part of #6224 I certainly didn't remove all of them; I avoided `unsafe` areas and also `components/script`
* Replace Au-related free functions in util::geometry with Au methods.Simon Sapin2015-05-051-2/+2
|
* layout: Simplify and improve the correctness of whitespace stripping inPatrick Walton2015-04-081-1/+3
| | | | | | | | | text layout, and unify the inline layout paths for pre- and normally-formatted text. This fixes a lot of "jumpiness" and removes the `new_line_pos` stuff. Closes #2260.
* Remove int_uint feature from gfx.Josh Matthews2015-04-071-2/+2
|
* Update some code that's feature-gated under core.Ms2ger2015-03-211-2/+2
|
* Fix warnings in gfx.Ms2ger2015-02-131-4/+4
|
* layout: Implement `text-align: justify` and `text-justify` perPatrick Walton2015-01-291-2/+2
| | | | | | | | | | | CSS-TEXT-3 § 7.3. `text-justify: distribute` is not supported. The behavior of `text-justify: none` does not seem to match what Firefox and Chrome do, but it seems to match the spec. Closes #213.
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-3/+3
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-10/+16
|
* Use std::cmp::Ordering explicitly.Ms2ger2015-01-221-3/+4
|
* Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-1/+1
|
* layout: Implement `overflow-wrap`/`word-wrap` per CSS-TEXT § 6.2.Patrick Walton2014-12-131-39/+123
| | | | | | | | | This property is used by approximately 55% of page loads. To implement the line breaking behavior, the "breaking strategy" has been cleaned up and abstracted. This should allow us to easily support other similar properties in the future, such as `text-overflow` and `word-break`.
* gfx: Implement `letter-spacing` per CSS 2.1 § 16.4.Patrick Walton2014-12-121-8/+21
| | | | | | | | | | The ligature disabling code has been manually verified, but I was unable to reftest it. (The only way I could think of would be to create an Ahem-like font with a ligature table, but that would be an awful lot of work.) Near as I can tell, the method used to apply the spacing (manually inserting extra advance post-shaping) matches Gecko.
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-2/+2
|
* Convert internal font code to store pt size as Au.Glenn Watson2014-10-221-1/+1
|
* layout: Rewrite text and inline fragment handling during flowPatrick Walton2014-10-201-2/+2
| | | | | | | construction to avoid cloning and moving flows so much. Besides amounting to a 5%-10% win on a page with a lot of text, this simplifies and refactors the text layout code.
* Add support for small-caps font-variant.Glenn Watson2014-09-231-2/+2
| | | | Ref: 2554.
* Eliminate warningsKeegan McAllister2014-09-201-1/+1
|
* Cargoify servoJack Moffitt2014-09-081-0/+271