slint/internal/compiler
Simon Hausmann f912ec7e6b Fix scaling of glyphs and improve type safety in the MCU backend
The code was mixing logical and physical sizes, causing glyphs being
doubly scaled down. Instead, this patch introduces:

 * Physical* and Logical* euclid length/size/rect aliases
 * some extraction traits for getting the scalars in rects/sizes as lengths (until euclid has them
built-in)
 * wrapper traits/types for safely extracting the physical font metrics the
 compiler generates (i16)
 * Fix a bug in the text height calculation where we failed to take the
   descent into account
2022-02-17 15:07:57 +01:00
..
generator Silent warning in the generated code. 2022-02-16 18:46:37 +01:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
llr Add an internal doc comment 2022-02-16 18:46:37 +01:00
parser Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
parser-test-macro Bump version number to 0.2.1 2022-02-10 16:25:28 +01:00
passes Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
tests Test style error when creating TypeLoader 2022-02-15 13:55:50 +01:00
widgets Bump version number to 0.2.1 2022-02-10 16:25:28 +01:00
build.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtin_macros.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtins.slint Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
Cargo.toml Begin rasterizing glyphs for glyph embedding 2022-02-15 15:52:24 +01:00
diagnostics.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
embedded_resources.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
expression_tree.rs Begin rasterizing glyphs for glyph embedding 2022-02-15 15:52:24 +01:00
fileaccess.rs Scan for style files in the include directories 2022-02-15 13:55:50 +01:00
generator.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
langtype.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
layout.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lexer.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lib.rs Do not continue on errors when creating the TypeLoader 2022-02-15 13:55:50 +01:00
literals.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
llr.rs LLR: optimization pass to inline property access 2022-02-16 18:46:37 +01:00
load_builtins.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lookup.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
namedreference.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
object_tree.rs Begin rasterizing glyphs for glyph embedding 2022-02-15 15:52:24 +01:00
parser.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
passes.rs Begin rasterizing glyphs for glyph embedding 2022-02-15 15:52:24 +01:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
typeloader.rs Let's not hard-code the list of styles 2022-02-15 13:55:50 +01:00
typeregister.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.