servo/components/fonts
Ashwin Naren ea5cf75169
clippy: Fix various clippy warnings throughout the code (#33003)
* replace u64::max_value() with u64::MAX

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* removed redundant import

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* Fixed dereference

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* Fixed a probable bug

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* fixed imports

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* fixed dereference

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* dereference formatting

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* removed unnessicary number imports

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* removed unnessicary number imports

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* removed excess borrow

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* ran mach fmt

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* fixed doc comment

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* removed deref on an immutable reference

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* fixed minor syntax error

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* reverted clamping

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* formatting

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* reverted final clamp

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Co-authored-by: Ashwin Naren <ashwin@pixelators.org>
2024-08-13 05:16:47 +00:00
..
platform ohos: Detect installed fonts (#32731) 2024-07-22 14:03:26 +00:00
tests fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
Cargo.toml Set the cfg properly for the production-stripped profile (#32991) 2024-08-09 09:16:51 +00:00
font.rs enhance: Implement CanvasRenderingContext2D.measureText (#32704) 2024-07-17 19:20:18 +00:00
font_cache_thread.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
font_context.rs canvas: Remove as much usage of font-kit as possible (#32758) 2024-07-11 04:25:38 +00:00
font_store.rs fonts: Add support for generic font families and font size configuration (#32673) 2024-07-08 17:17:48 +00:00
font_template.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
glyph.rs clippy: Fix various clippy warnings throughout the code (#33003) 2024-08-13 05:16:47 +00:00
lib.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
shaper.rs fix a couple of simple clipy warnings (#32813) 2024-07-19 13:18:34 +00:00