enso/lib/rust/ensogl/examples
Kaz Wesley 1dfdee5808
Use Enso Font (#7516)
Use the new Enso Font; also change the anti-aliasing logic to be based on device pixel ratio, rather than platform. This will improve the clarity of font rendering on Windows/Linux machines with high pixel densities.

Design reference:

![image](https://github.com/enso-org/enso/assets/1047859/934ec9ac-52c3-4a81-a9f9-143378ecb658)

Tested on various combinations of DPR/platform:

OS X, `devicePixelRatio` = 2 (should look similar to how we were already rendering *mplus1* on OS X):
<img width="1440" alt="Screenshot 2023-08-07 at 5 46 11 PM" src="https://github.com/enso-org/enso/assets/1047859/2fdf251a-ba5e-426f-b6c4-194347a9cee4">

Windows, `devicePixelRatio` = 1.25 (should look similar to how we were already rendering *mplus1* on this platform/DPR):
![image](https://github.com/enso-org/enso/assets/1047859/55c4a129-4fff-4a9b-8e55-51a5d206e659)

Linux, `devicePixelRatio` = 1 (should look similar to how we were already rendering *mplus1* on this platform/DPR):
![image](https://github.com/enso-org/enso/assets/1047859/c5ac61f0-e3c5-43ca-8ee7-e1e04e84d35e)

# Important Notes
Style changes:
- Use the Enso Font for code in Rust, replacing the DejaVu fonts.
- Use the Enso Font in HTML: code in documentation, and error visualizations.
- Change SpanWidgets from Bold to Extra Bold, to match the design.

Implementation improvements:
- The new font download is cached (and Github-authenticated); this should eliminate a "rate limit" build failure I've
encountered in the past.
- Clean up DocSection HTML rendering a bit.
- Remove a CSS file that seems to have been superseded.
2023-08-17 18:36:12 +00:00
..
animation Eager shader compilation (#5606) 2023-02-22 00:29:48 +01:00
auto-layout remove content_origin property from layout (#6155) 2023-04-01 11:48:01 +00:00
built-in-shapes add support for bidirectional rectangle border and inset (#7188) 2023-07-05 19:10:57 +00:00
cached-shape Fix list editor panics during insertion (#6540) 2023-05-17 18:53:51 +00:00
complex-shape-system Eager shader compilation (#5606) 2023-02-22 00:29:48 +01:00
custom-shape-system remove content_origin property from layout (#6155) 2023-04-01 11:48:01 +00:00
dom-symbols Reduce draw calls (#6707) 2023-06-06 17:09:03 +00:00
drop-down Eager shader compilation (#5606) 2023-02-22 00:29:48 +01:00
drop-manager Fix wrong placement of nodes created from dropped files. (#5906) 2023-03-17 20:52:13 +00:00
easing-animator Vector Editor first visual implementation (#6245) 2023-04-19 04:26:01 +02:00
focus-management remove content_origin property from layout (#6155) 2023-04-01 11:48:01 +00:00
grid-view Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
instance-ordering add support for bidirectional rectangle border and inset (#7188) 2023-07-05 19:10:57 +00:00
list-editor Proper handling of multiple list views. (#6461) 2023-05-01 18:11:05 +02:00
list-view Eager shader compilation (#5606) 2023-02-22 00:29:48 +01:00
mouse-events Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
profiling-run-graph Consistent naming of visualization (#7124) 2023-06-26 17:04:35 +00:00
render-profile-flamegraph Eager shader compilation (#5606) 2023-02-22 00:29:48 +01:00
scroll-area remove content_origin property from layout (#6155) 2023-04-01 11:48:01 +00:00
slider Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
sprite-system Undo redo fixes and improvements (#6950) 2023-06-12 10:32:35 +00:00
sprite-system-benchmark Reduce draw calls (#6707) 2023-06-06 17:09:03 +00:00
src Passing events to sub-widgets in List Editor and refactoring of the slider component. (#6433) 2023-04-27 04:42:42 +02:00
text-area Use Enso Font (#7516) 2023-08-17 18:36:12 +00:00
Cargo.toml Passing events to sub-widgets in List Editor and refactoring of the slider component. (#6433) 2023-04-27 04:42:42 +02:00