alhena 0.2.0 → 0.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4c0b230268d5ea31a81de61c2921d5e4935867b6404f5cce8b1845f72e684fd
4
- data.tar.gz: 50efd3bdb4e99ae0cab4af5de6ef774475bce172f393acdae2331a46d50025f2
3
+ metadata.gz: ce5de3849b4aa2df47ea56cdeb9973a32292f141bc112dee2ea982cb57a34458
4
+ data.tar.gz: 5a8511d09bdd3ba79634eebe8ea808fd90e8381a146e213b600315a81551d4d7
5
5
  SHA512:
6
- metadata.gz: 90ffa83e7e39302c55686750ef08230df82f825c05b7a7f00802825475b57876abbd37e7fc8d96296c8d51bc9380fa1ac5bdd11a3aef5a799a5ae80dbab32a57
7
- data.tar.gz: c9956c2c6c282c20dbd7b304ebb548e04029a57dafe6a87b2888d868477ce85ee971e0ae1ffc1c2f1e9b1eabc62170102c42f2bf5ad5d389f1c0611f4a26abb6
6
+ metadata.gz: 8bdac70ca3bb5b3f5e9b36478bc0abab8323efe5b5127788ceffb0ef4bc8d294a3ed14b63e807834618888d9e87e8ffbf4b5dc9d2f8a65ee8ecc833938bb7f54
7
+ data.tar.gz: a8c8e4713dedce77ea623faaf562e1014a523738798bb96a823463aa94f5e81334286bf7bcd4f9f1609941585032a357a56df269d4c182ca4facc2fb9bcd55f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 — 2026-09-21
4
+
5
+ - Add a deterministic rasterized-glyph demo image and regeneration task.
6
+
3
7
  ## 0.2.0 — 2026-09-15
4
8
 
5
9
  - Added text advance and line metric measurement without rasterization.
data/README.md CHANGED
@@ -23,6 +23,8 @@
23
23
 
24
24
  Alhena reads TrueType, OpenType, and TTC fonts, extracts their outlines, and rasterizes antialiased grayscale, LCD, and color glyph bitmaps. It has no runtime gem dependencies or native extensions.
25
25
 
26
+ ![Alhena rasterized glyphs](docs/media/screenshot.png)
27
+
26
28
  ## Features
27
29
 
28
30
  - TrueType, OpenType CFF1/CFF2, and TTC font parsing
@@ -175,7 +177,7 @@ Measurements below are medians of five batches on Ruby 4.0.0 with YJIT on arm64-
175
177
  | A at 14px, cache hit | 0.48 µs | 5 µs |
176
178
  | ASCII 95 glyph prewarm | 4.79 ms | 60 ms |
177
179
  | 鬱 at 48px, uncached | 0.47 ms | 3 ms |
178
- | 10,000 downsampled rows | 100.37 ms | 200 ms |
180
+ | 10,000 downsampled rows | 100.37 ms | 250 ms |
179
181
 
180
182
  Cache glyphs in interactive applications so each glyph is normally rasterized once per size and position. These measurements are local evidence, not universal guarantees.
181
183
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alhena
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alhena
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yudai Takada