Skip to content

chore: release v1.1.0 - #79

Merged
gkurt merged 1 commit into
mainfrom
tegami/version-packages
Oct 11, 2026
Merged

gkurt merged 1 commit into
mainfrom
tegami/version-packages

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

All bumped packages.

Package From To
@tegaki/root 1.0.3 1.1.0
@tegaki/example-nuxt 1.0.3 1.1.0
@tegaki/example-vite 1.0.3 1.1.0
@tegaki/example-astro 1.0.3 1.1.0
@tegaki/example-solid 1.0.3 1.1.0
@tegaki/example-next 1.0.3 1.1.0
@tegaki/example-e2e 1.0.3 1.1.0
@tegaki/example-vanilla 1.0.3 1.1.0
@tegaki/example-remotion 1.0.3 1.1.0
@tegaki/example-vue 1.0.3 1.1.0
@tegaki/example-svelte 1.0.3 1.1.0
@tegaki/website 1.0.3 1.1.0
tegaki-generator 1.0.3 1.1.0
tegaki 1.0.3 1.1.0
@tegaki/example-editframe 1.0.3 1.1.0

Changelogs

font-weights.md

Show Bumped Packages (1)
Package Bump
npm:tegaki minor

Bundles with several font weights

A bundle can now hold several weights of its font. weight states the weight of the bundle's own face (400 when absent), and faces lists the others, each with its own font files and glyph data. The renderer reads the text's computed font-weight and draws the face CSS font matching picks, the same face the browser lays the text out in. A font-weight set anywhere above the renderer, including one that changes later through a class or a media query, switches the strokes to that weight's face. Each face's font is loaded only once a weight picks it.

const bundle = createBundle({
  family: 'Caveat',
  fontUrl: '.../caveat.ttf',
  glyphData,
  faces: [{ weight: 700, fontUrl: '.../caveat-700.ttf', glyphData: boldGlyphData }],
});

bundleForWeight(bundle, weight) returns the bundle as one weight draws it, bundleWeights(bundle) lists the weights it has, and matchFontWeight(weights, weight) is the CSS font matching the renderer uses to pick a weight. textToSvg takes a fontWeight option.

Bundles without faces render as before, and the bundle format version stays 1. One change applies to every bundle: the renderer's root now sets font-synthesis-weight: none. The browser no longer fakes a bold from a lighter face, because the strokes would not follow it. A font-weight: bold above a single-weight bundle now leaves its text layer and its fallback characters in the bundle's weight.

Publish

The following packages will be published if merged:

Package Version Registry
tegaki 1.1.0 npm

@github-actions
github-actions Bot force-pushed the tegami/version-packages branch from bd4ab18 to 4fb44c8 Compare October 11, 2026 14:15
@gkurt
gkurt merged commit 32654a4 into main Oct 11, 2026
@gkurt
gkurt deleted the tegami/version-packages branch October 11, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant