@solidrt/flux-types 0.0.74 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gui/font.d.ts CHANGED
@@ -62,6 +62,13 @@ declare module "flux:font" {
62
62
  * stems to whole pixels as well, which a grid of cells drawn at whole
63
63
  * pixels (a terminal) wants; false (default) keeps the outline as the
64
64
  * font draws it. An msdf atlas is never hinted.
65
+ *
66
+ * "full" rounds every stem on its own, so it suits outline fonts, not
67
+ * pixel fonts: a font whose glyphs are pixel rectangles, drawn where a
68
+ * font pixel is a fraction of a device pixel (1.6 px, say), gets each
69
+ * row rounded to one pixel at the wider pitch and reads as dashes with
70
+ * blank rows between. Draw a pixel font unhinted at a whole-pixel
71
+ * scale instead.
65
72
  */
66
73
  hint?: boolean | "light" | "full"
67
74
  /** Debug label of the atlas texture. */
@@ -258,6 +258,12 @@ declare module "flux:rendertree" {
258
258
  * size: a 1x screen read from a distance) or `false` (the outline as
259
259
  * the font draws it). null restores the default: light below 2x,
260
260
  * off above.
261
+ *
262
+ * "full" rounds every stem on its own, so it suits outline fonts, not
263
+ * pixel fonts: a font whose glyphs are pixel rectangles, drawn where a
264
+ * font pixel is a fraction of a device pixel, gets each row rounded to
265
+ * one pixel at the wider pitch and reads as dashes with blank rows
266
+ * between. Draw a pixel font unhinted at a whole-pixel scale instead.
261
267
  */
262
268
  hint?: boolean | "light" | "full" | null
263
269
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidrt/flux-types",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "license": "MIT",
5
5
  "funding": "https://github.com/sponsors/wellawaretech",
6
6
  "author": "Antoine van Wel",