enso/lib/rust/ensogl/component
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
..
breadcrumbs Documentation panel redesign (#7372) 2023-08-15 17:11:36 +04:00
button Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
drop-down New node design (#7311) 2023-07-27 13:00:47 +00:00
drop-down-menu New node design (#7311) 2023-07-27 13:00:47 +00:00
drop-manager Fix wrong placement of nodes created from dropped files. (#5906) 2023-03-17 20:52:13 +00:00
dynamic-assets Use Enso Font (#7516) 2023-08-17 18:36:12 +00:00
file-browser Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
flame-graph Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
grid-view Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
gui Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
icons Refactor icons and breadcrumbs into separate crate. (#7419) 2023-07-31 11:54:05 +00:00
label New node design (#7311) 2023-07-27 13:00:47 +00:00
list-editor Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
list-view New node design (#7311) 2023-07-27 13:00:47 +00:00
scroll-area Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
scrollbar New node design (#7311) 2023-07-27 13:00:47 +00:00
selector New node design (#7311) 2023-07-27 13:00:47 +00:00
sequence-diagram Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
shadow Bump rustc to nightly-2023-01-12 (#4053) 2023-02-02 23:05:25 +00:00
slider Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
spinner Force newDashboard default on the CI-built packages. (#6680) 2023-05-15 04:03:09 +02:00
src Implement loading spinner for visualisations. (#6512) 2023-05-12 04:41:55 +00:00
text Use Enso Font (#7516) 2023-08-17 18:36:12 +00:00
toggle-button Rearrange CB panels (#7350) 2023-07-31 15:33:54 +00:00
tooltip Introduce new focus APIs, and use for CB (#7167) 2023-07-26 22:13:48 +00:00
Cargo.toml Implement loading spinner for visualisations. (#6512) 2023-05-12 04:41:55 +00:00