fontisan 0.4.53 → 0.4.55

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +17 -1
  3. data/TODO.bug-fixes/README.md +1 -1
  4. data/docs/.gitignore +4 -0
  5. data/docs/astro.config.mjs +16 -0
  6. data/docs/package-lock.json +4031 -1506
  7. data/docs/package.json +12 -5
  8. data/docs/scripts/sitemap-base.mjs +81 -0
  9. data/docs/src/content.config.ts +32 -0
  10. data/docs/{.vitepress/config.ts → src/data/sidebar.ts} +235 -146
  11. data/docs/src/layouts/Site.astro +320 -0
  12. data/docs/src/pages/404.astro +14 -0
  13. data/docs/src/pages/api/[...slug].astro +22 -0
  14. data/docs/src/pages/api/index.astro +12 -0
  15. data/docs/src/pages/cli/[...slug].astro +22 -0
  16. data/docs/src/pages/cli/index.astro +12 -0
  17. data/docs/src/pages/guide/[...slug].astro +22 -0
  18. data/docs/src/pages/guide/index.astro +12 -0
  19. data/docs/src/pages/history/[...slug].astro +22 -0
  20. data/docs/src/pages/history/index.astro +24 -0
  21. data/docs/src/pages/index.astro +234 -0
  22. data/docs/src/pages/root/[...slug].astro +20 -0
  23. data/docs/src/styles/site.css +88 -0
  24. data/ext/fontisan_cdylib/Cargo.lock +17 -1
  25. data/ext/fontisan_cdylib/Cargo.toml +1 -1
  26. data/ext/fontisan_native/Cargo.toml +1 -1
  27. data/lib/fontisan/byte_ops.rb +2 -2
  28. data/lib/fontisan/converters/collection_converter.rb +4 -0
  29. data/lib/fontisan/engine.rb +14 -12
  30. data/lib/fontisan/native.rb +1 -1
  31. data/lib/fontisan/version.rb +1 -1
  32. data/lib/fontisan/woff2/glyf_loca_reconstruct.rb +4 -0
  33. metadata +18 -10
  34. data/docs/.vitepress/theme/components/ApiMethod.vue +0 -127
  35. data/docs/.vitepress/theme/components/Badge.vue +0 -51
  36. data/docs/.vitepress/theme/components/FeatureComparison.vue +0 -87
  37. data/docs/.vitepress/theme/components/HeroCodeBlock.vue +0 -98
  38. data/docs/.vitepress/theme/components/WithinHero.vue +0 -30
  39. data/docs/.vitepress/theme/index.ts +0 -22
  40. data/docs/.vitepress/theme/style.css +0 -628
  41. data/docs/scripts/post-build.mjs +0 -81
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fe9ba20e7ae3b88422e9f082465d7a2c4fe9eaadd02efbaa4d0f07a88ebe6e4
4
- data.tar.gz: 797eb28d3d9bac58c605f565dcb029db9ec1f3123b0fb0998421c3108d65cd84
3
+ metadata.gz: 67da45a7fe334de52651f9938d0d857b6db329f73e8fba05bdc1e7655dbbb5dc
4
+ data.tar.gz: 6859b055f13c1b9b9b9963af920a47e969f839abd65aaff01875e567e454a914
5
5
  SHA512:
6
- metadata.gz: 8c376024ea91c786bb91b741ab8c190642f3056b3de12873a4ea891eb9684a95256da10bed475abad290daf289f470a8df9010f9058b149f8b7b54c9080e450e
7
- data.tar.gz: c71a3408591f362976b8bc9ce2c734583806ab817232cdfa8ef7e22bdfdf23ee0cd0a386657082d22f7d68786dcb67e95df09c3f3237c2e89f18013ccee22e4b
6
+ metadata.gz: eb3186692583b955fe694cd6ba88ba329e76d186a6d25c35e1a715b98c4911e652eb5cb541c705c664a2a078fcac9fb09383b96e11a5f9577de5fc342d50faf8
7
+ data.tar.gz: 9c1025b0e43d389274b8e0d5adc968dc182a79d9f6c556e6f6ce107aa00778e581c628abbc36a7b4f0d62becfee12ecc12ae9fc30eabd81088eabee463231a32
data/Cargo.lock CHANGED
@@ -167,6 +167,15 @@ version = "1.19.0"
167
167
  source = "registry+https://github.com/rust-lang/crates.io-index"
168
168
  checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
169
169
 
170
+ [[package]]
171
+ name = "flate2"
172
+ version = "1.1.11"
173
+ source = "registry+https://github.com/rust-lang/crates.io-index"
174
+ checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
175
+ dependencies = [
176
+ "zlib-rs",
177
+ ]
178
+
170
179
  [[package]]
171
180
  name = "foldhash"
172
181
  version = "0.2.0"
@@ -185,10 +194,11 @@ dependencies = [
185
194
  [[package]]
186
195
  name = "fontisan"
187
196
  version = "0.0.0"
188
- source = "git+https://github.com/fontist/fontisan-rs?rev=eedd92987b6d08a62b3451a7c03757d0340ebc79#eedd92987b6d08a62b3451a7c03757d0340ebc79"
197
+ source = "git+https://github.com/fontist/fontisan-rs?rev=89c64de798794e271e289a3f51ec394eb7db3fee#89c64de798794e271e289a3f51ec394eb7db3fee"
189
198
  dependencies = [
190
199
  "brotli",
191
200
  "brotli-decompressor",
201
+ "flate2",
192
202
  "miniz_oxide",
193
203
  "read-fonts",
194
204
  "sha2",
@@ -548,3 +558,9 @@ dependencies = [
548
558
  "syn 3.0.9",
549
559
  "synstructure",
550
560
  ]
561
+
562
+ [[package]]
563
+ name = "zlib-rs"
564
+ version = "0.6.9"
565
+ source = "registry+https://github.com/rust-lang/crates.io-index"
566
+ checksum = "aa76918995d776d9dd34d371030be228d021137449771493d56e29f77e4148ac"
@@ -49,4 +49,4 @@ Each file is `NN-short-name.md` where `NN` is the priority order.
49
49
  - [x] ~~[29 — Strategy registries for per-tag dispatch](29-strategy-registries.md)~~ ✓ Done (#139)
50
50
 
51
51
  ### P3 — Encapsulation completion (post-#146 audit)
52
- - [ ] [30 — Eliminate .send(:private_method) calls in specs](30-eliminate-send-in-specs.md)
52
+ - [x] ~~[30 — Eliminate .send(:private_method) calls in specs](30-eliminate-send-in-specs.md)~~ ✓ Done (PR #206)
data/docs/.gitignore CHANGED
@@ -15,3 +15,7 @@ npm-debug.log*
15
15
 
16
16
  # OS
17
17
  .DS_Store
18
+
19
+ # Astro build output and cache
20
+ dist/
21
+ .astro/
@@ -0,0 +1,16 @@
1
+ import { defineConfig } from "astro/config";
2
+ import tailwindcss from "@tailwindcss/vite";
3
+
4
+ // Deployed at fontist.org/fontisan/ by the docs workflow.
5
+ const SITE_ORIGIN = process.env.SITE_URL || "https://www.fontist.org";
6
+ const SITE_PATH = process.env.BASE_PATH || "/fontisan/";
7
+
8
+ export default defineConfig({
9
+ site: SITE_ORIGIN,
10
+ base: SITE_PATH,
11
+ trailingSlash: "ignore",
12
+ output: "static",
13
+ vite: {
14
+ plugins: [tailwindcss()],
15
+ },
16
+ });