# Changelog

All notable changes to **dsh-fonttune** are documented here. Chinese version: [CHANGELOG.md](CHANGELOG.md).

## [0.7.14] - 2026-11-22

### Changed
- **The supported range now reaches up to DSH 0.3.0**: the plugin is no longer pinned to the 0.2 line, so a host on 0.2.3 or later is not turned away.
- **DSH 0.2.3-alpha.2 is supported**: the font, size, weight and line-height controls were verified on that release.

## [0.7.13] - 2026-11-19

### Fixed
- **The bubble's weight notches did not follow its own font**: after the bubble was given a different family the notches still came from the conversation's; they now come from the bubble's family, and the settings card and the floating panel agree.

## [0.7.12] - 2026-11-18

### Changed
- **DSH 0.2.2-rc.4 and 0.2.2-rc.5 are supported**: the declared range already covered them; the compatibility table now lists them, and the settings card, its writes and the floating panel were re-verified on 0.2.2-rc.5.

## [0.7.11] - 2026-11-18

### Added
- **The messages you send can be styled on their own**: with Split reply and bubble typography turned on in the conversation section, the conversation divides into Reply and Bubble, and the bubble gets its own font, size and weight; turning the split off returns the bubble to following the conversation and drops the separate settings.
- **The floating panel switches by element**: its tabs select interface, code or conversation — with the split on, reply and bubble — and only the axes that element has are shown, with readings that match the settings card.

### Fixed
- **The dot snapped wrongly on pages without a conversation**: on the interface and code pages it used to latch onto a document box or not snap at all; it now uses the four corners of the page's central content area, and no longer jumps when pages change.
- **The panel and the settings card disagreed about slider ranges**: weight axes read as weight units in the panel instead of notch counts; both surfaces now show the same numbers.
- **Occasional stutter while dragging the dot**: the drag no longer re-measures the region on every move, and releasing still lands exactly on a corner.

## [0.7.10] - 2026-11-13

### Changed
- **The declared range covers the 0.2.x line**: from the first 0.2.1 candidate up to just before 0.2.3, while the compatibility table lists only the versions that were actually verified.
- **DSH 0.2.2-rc.3 is supported**: the settings card, slider writes, the floating panel and the first-frame stylesheet were all verified on it.

## [0.7.9] - 2026-11-12

### Changed
- **DSH 0.2.2-rc.2 is supported**: the declared range now reaches one release further, and the README compatibility table follows.

## [0.7.8] - 2026-11-05

### Fixed
- **The font picker opened slowly**: the list now builds one screenful, and the names are no longer drawn in each family's own font, so opening and scrolling stay quick on a machine with many installed fonts.
- **A pause when switching presets**: a preset remembers the notches that were measured for it, so switching uses them directly instead of measuring again at that moment.

### Changed
- **Only verified host versions are declared**: 0.2.0-rc.1 through 0.2.2-rc.1 are listed one by one; older or untested versions are no longer claimed.

## [0.7.7] - 2026-11-05

### Fixed
- **The stall when opening the font settings**: the weight notches are now measured in steps that stay out of the settings page's open and refresh, and a family is measured once — later opens read the result instead of measuring again.
- **A long unresponsive page with some very large font collections**: when the font file is exceptionally large the measurement falls back to coarse notches after a time limit instead of holding the interface for a long time.

### Changed
- **DSH 0.2.2-rc.1 is supported**: the compatibility table in the README and the plugin manifest now list 0.2.1-rc.3, 0.2.1-rc.5 and 0.2.2-rc.1.

## [0.7.6] - 2026-11-04

### Fixed
- **The plugin did not actually load on some hosts**: the Font tune settings card and the first-frame type stylesheet were missing while the conversation still looked completely normal, so it was easy to miss; the plugin now waits for its dependency to finish loading before it registers, and no longer starts half-loaded.

## [0.7.5] - 2026-11-01

### Fixed
- **The floating dot covered the composer in a new session**: before conversation text appeared, the dot could remain over the input area; it now moves to the lower-left of the main content area, clear of both the composer and the sidebar.

## [0.7.4] - 2026-10-30

### Fixed
- **The weight slider moved the Latin and the Chinese text by different amounts**: when a Chinese family ships only a few faces, some notches changed only the Latin side and others made the browser thicken the Chinese one itself, so one script read heavier than the other. The notches are now taken from what both families can draw, and each one changes the two sides by a similar amount.

### Changed
- **How many notches you get follows the faces the fonts ship**: a Chinese family with more faces offers more notches — three faces give at most three positions, seven give about twice that. The readout counts positions, so it changes with the font.

## [0.7.3] - 2026-10-29

### Fixed
- **Every conversation axis was inert on DSH 0.2.1-rc.4 and 0.2.2**: those releases dropped the conversation container's `_markdown_` class-hash segment and its `[data-dss-prose]` wrapper, so the dialog rules matched zero elements and font, size, line height, weight and tracking all failed silently — while the card, its writes and the floating panel still looked fine. The markdown block elements inside `[data-conversation-content]` now stand in as the fallback scope.
- **The floating panel measured the whole window instead of the conversation on those same releases**: it looked for the same two markers, so the dot parked on the window's corner and the panel's expand direction was read from the window; it now recognises that content container too.

### Changed
- **The compatibility table states what was verified**: the 0.2.1-rc.4 and 0.2.2-alpha.2 rows used to mean "the card, its writes and the panel"; from this release on they mean "the type actually renders on the conversation and the panel measures the conversation".

## [0.7.2] - 2026-10-28

### Changed
- **The compatibility table lists DSH 0.2.1-rc.4 and 0.2.2-alpha.2**: both were verified live — the settings card, its writes and the floating panel all behave as documented.

## [0.7.1] - 2026-10-20

### Changed
- **The panel and the dot each decide their own side**: the panel opens into the quadrant its own middle sits in, while the dot still snaps to the corner it remembers, so the two no longer share one rule.
- **Switching corners takes less travel**: the conversation's middle is the line to cross, so the corner follows the panel's own middle rather than the region's edge.
- **Snapping is one continuous motion**: after a release the panel and the dot travel to the target corner together, instead of the panel jumping to the other side first and then sliding.

### Fixed
- **The panel sometimes rested on the window's bottom-left corner**: while the conversation was not measurable yet, the dot was moved onto the window corner and that position was stored; it now moves only against a measurable conversation and never stores a stand-in.
- **The dot sat on the sidebar in a narrow window**: a conversation squeezed to a sliver is still the region, instead of falling back to the whole window.
- **The shadow did not follow the unfold**: the panel's shadow now changes with the shape while it unfolds and folds.
- **The first frame of an unfold flickered**: the panel no longer blinks before it appears.

## [0.7.0] - 2026-10-19

### Changed
- **Light and dark are set separately**: the two themes can be tuned on their own, and the dark set overrides only the items you change while the rest follow the light set.
- **The floating panel follows the current theme**: on a light page it edits the light set and on a dark page the dark set, and a preset picker at its top switches a whole setup without opening the settings page.
- **The floating panel is translucent**: it lets the conversation behind it show through, blurred, matching the outline panel's material.
- **Plugin icon**: the plugin page and the plugin list now show this plugin's own icon.

### Fixed
- **The floating panel's sliders were cut off at their right end**: every slider lost a sliver of its right end; it now matches the panel's content width.

## [0.6.2] - 2026-10-17

### Changed
- **DSH 0.2.1-rc.1 and rc.2 join the compatibility table**: both were verified live — the settings card, the floating panel's tweaks and their writes, and the plugin's page all behave as documented.

## [0.6.1] - 2026-10-16

### Changed
- **DSH 0.2.1-alpha.3 through alpha.5 join the compatibility table**: all three were verified live — the settings card, the floating panel's tweaks and their writes, and the plugin's page all behave as documented.

## [0.6.0] - 2026-10-15

### Changed
- **Conversation type shaping**: tracking, word spacing, paragraph spacing and first-line indent are now adjustable, together with a strict line-breaking switch; 0 keeps DSH's own values for all four, and the paragraph gap moves only the space between paragraphs while headings keep their own.
- **The floating panel carries every conversation adjustment**: a new "in force" section names the fonts the conversation, the interface and code actually render with, plus the weight slider's step count, and it folds away.
- **Descriptions and docs**: the plugin description and both READMEs cover the new shaping, and the README gained interface screenshots.

### Fixed
- **The first-line indent reached headings, lists and code**: headings were indented along with the text, an ordered list's number stopped lining up with its item, and inline code gained leading space; it now applies to paragraphs only.
- **The floating panel kept a blank area after folding**: when the panel had been made taller, folding left that space behind; the panel now shrinks with its content, and still scrolls when it is made short.

## [0.5.0] - 2026-10-13

### Added
- **Finer weight steps on fonts with a continuous weight range**: for a font that supports one, the weight slider of the conversation, the interface and code goes from a handful of steps to a couple of dozen, and every notch changes the text. Machines whose fonts do not support it keep the steps they had.

### Fixed
- **Headings shrank when the conversation line height was adjusted**: the axis now moves the spacing alone, leaving the size and the hierarchy of headings and body text untouched.
- **The floating panel offered different weight steps than the settings card**: both now read and write the same steps and the same range.
- **The preview box did not match the real conversation**: moving the weight by one step now shows in the preview as well.

### Changed
- **The weight hints no longer describe a change of face per step**: on a font with a continuous weight range that is not what happens, so they now say every notch makes the text a little bolder or lighter.

## [0.4.2] - 2026-10-12

### Changed
- **DSH 0.2.1-alpha.1 and 0.2.1-alpha.2 join the compatibility table**: both were verified live — the settings card, the floating panel's tweaks and their writes, and the plugin's page all behave as documented.

## [0.4.1] - 2026-10-04

### Fixed
- **Panel weight values falling back after an adjustment**: on a freshly installed machine, reaching the target weight notch snapped straight back and a second try lost it too; the first adjustment now sticks.
- **Panel size and line-height values falling back after an adjustment**: the page followed for a moment and then returned to its old value, which made the line height look ineffective; an adjustment now applies at once and stays.
- **The unit next to a panel value vanishing while the slider moved**: it blinked away mid-drag and came back on release; it now stays put.

### Changed
- **The plugin no longer appears in the Plugins page's official list**: it is not an official plugin, so that entry is gone; the whole settings card lives on the installed side now, and the panel's settings button opens that page directly.
- **The plugin's name and blurb on the Plugins page are Chinese**: the name reads 「字体增强（dsh-fonttune）」 and the blurb matches the settings card's wording.

## [0.4.0] - 2026-10-01

### Added
- **A floating tuning panel**: the dot in the conversation's corner unfolds into a card with the conversation's font size, line height and weight at hand. The dot snaps to the conversation region's corners and unfolds from its own, and the panel remembers its size and position.
- **A settings entry on the panel**: the button left of its close takes you straight to this plugin's own settings page, no hunting through the plugin list.
- **A text rendering choice**: follow the system, sharp, or smooth — the same face drawn with a different stroke feel.
- **A master switch for the panel**: the settings page can turn the floating panel off, and the corner dot is gone for good.

### Fixes
- **The settings page stuttered the first time it was opened after a refresh or restart**: the first open is now as smooth as every later one.

### Changes
- **The panel's unfold and fold ignore the system's "reduce motion" setting**: the animations play even with reduced motion on.
- **Compact choices moved onto their title row**: controls like the code ligature choice no longer sit under the hint text, but line up with the other switches.

## [0.3.6] - 2026-09-29

### Fixes
- **A weight change took a long time to take effect**: an adjustment now submits the setting once, and consecutive adjustments are merged.
- **The text briefly jumped back while the weight was adjusted**: the page keeps the value you chose until the write is confirmed.
- **A "not written to the document" notice appeared while the write was still going**: the notice now appears only when the host actually refuses the write.

### Changes
- **A weight change is reflected on the page immediately**, instead of after the setting has been written.

## [0.3.5] - 2026-09-29

### Fixed
- **A weight offset inside the old absolute-weight range was rewritten on the way back**: such an offset was read as a pre-relative absolute weight and converted again, which is the "the notch jumps to −1" report from 0.3.1 as soon as the range reaches past +200. The document now states which scale its weight fields are on, so a legacy value is converted once and only where that statement is missing.
- **The highest notch of the weight slider wrote a value the slider itself cannot show**: rounding the top position up passed the ceiling measured for the font. Every position is now a whole number of steps from the neutral one and stays inside the range.

### Changed
- **The weight slider picks its step so that every notch is a change you can see**: one notch is the smallest jump between the font's own faces that is clearly visible rather than the smallest possible one, so the control may offer fewer positions than before while every one of them shows; body text changes at every position, and bold text and headings stop once they reach their heaviest face.

## [0.3.4] - 2026-09-29

### Fixed
- **A slider quietly fell back to the document's value when the value never reached the document**: when a write was accepted but the document's value never followed, the slider jumped back after a moment with nothing to show for it. The control now says so underneath, and says the value came from the document.

### Changed
- **The weight hints name the smallest step**: the step is measured for the current font, and its smallest step is a small change by nature — the hints now say so.
- **The faux bold and faux italic switches say what they actually do**: turning faux bold off adds at most one extra step for a font that ships no bold face and cannot invent the middle ones; turning both off is the same story.
- **The follow hint is clearer**: while the interface follows the conversation, the interface section's own font and weight are ignored.

## [0.3.3] - 2026-09-28

### Changed
- **The supported DSH floor moved up**: 0.1.5-rc.3 is no longer supported, so upgrade to the 0.1.7 line first; 0.1.7 and 0.2.0-rc.1 stay supported.

## [0.3.2] - 2026-09-28

### Changed
- **DSH 0.2.0-rc.1 is supported**: releases now also run on the 0.2 line, and the compatibility table names the host line each release needs.

## [0.3.1] - 2026-09-28

### Fixed
- **The upper positions of the weight slider jumped to a lower number**: two of them were read as an absolute weight and converted, so the third step showed as −1 and the fourth rendered exactly like 0. A position now stays where it is put.
- **With the conversation weight at 0, the conversation still picked up the interface offset**: the two axes shared a range, so 0 carried the interface's offset as well and the 0 and +1 positions looked nearly the same. Each axis now keeps to its own scope, and 0 is DSH's own weight.
- **The line-height preview in the card was taller at 100% than at the notches above it**: the preview and the conversation did not share a base. They do now, so every notch is taller in the preview as well.

### Changed
- **The weight slider's positions and step come from the font**: one step is one pair of neighbouring faces, and the range starts where body text and bold text can still swap faces — a family whose body text has more weights gets more positions (the range is no longer held back by the heading layer), and the heading layer stops once it is at its boldest; changing the family measures it again.

## [0.3.0] - 2026-09-28

### Fixed
- **Markdown headings stopped being bold once a conversation weight was set**: the weight was one value for the whole conversation, so any setting flattened the headings down to roughly body weight. The offset now adds to each element's own weight, so headings stay clearly bolder than body text at any step and bold text stays bold.
- **H1/H2 looked too small while H3 looked right once a conversation size offset was set**: the heading ladder was asymmetric under an offset, the larger headings moving further. The offset now lands once, the whole ladder follows it, and h1 > h2 > h3 > h4 holds at any offset.
- **Dragging the weight occasionally snapped the number back, and the next adjustment did not apply**: with a slow write, the previous value could cover the value being dragged. The value under the drag is now kept, and two adjustments in a row are both written.
- **A plus sign appeared in front of the number on release**: the readout while dragging and the readout after landing were written differently. They match now.

### Changed
- **The three weight axes are one control now, and they count steps**: conversation, interface and code all take an offset on each element's own weight, and the slider is divided into the weights the current font **can actually render** — the readout is the step count (for example `-2 … +4`, 0 keeps DSH's own weights), a font with more weights offers more steps, and every notch is a visible change; changing the font measures it again.
- **An absolute weight stored by an older version is converted automatically** (400 → 0, 450 → +1), so nothing has to be set again, and changing the font never invalidates an existing setting.

## [0.2.7] - 2026-09-24

### Changed
- **DSH 0.1.7-rc.2 support**: it is a patch update of 0.1.7-rc.1 with the same settings service and configuration-card seats, so no code had to change; each item was verified in an isolated environment (host start, stylesheet applied, card expanded, a change written through), and the compatibility table lists 0.1.7-rc.2.

## [0.2.6] - 2026-09-24

### Fixed
- **Dragging the UI stuttered**: dragging the sidebar width, the conversation-list width and similar handles dropped frames (the injected stylesheet matched the whole page against every rule on each style recalculation). Each axis now matches only the elements it needs: dragging is smooth again, and the typography and the code axis look unchanged.
- **Opening "Font tune" on the Plugins page did not show the settings right away**: on 0.1.7 the page treats opening the entry as the expansion gesture, while the card carried a collapsible header of its own and asked for a second click. It now opens expanded, and the chevron still collapses it by hand.

### Changed
- **DSH 0.1.7-rc.1 support**: it is the 0.1.7 interface on the rc channel, sharing the settings service and the configuration-card seats with 0.1.7-alpha.x, so no code had to change; each item was verified in an isolated environment (host start, stylesheet applied, card open and close, a change written through).
- **The declared compatibility floor is now 0.1.5-rc.3**: 0.1.5-rc.1 and 0.1.5-rc.2 are no longer claimed (`engines.dsh` tightened to match), and the README compatibility table follows.
- **The loader row id matches the settings namespace** (`fonttune` → `dsh-fonttune`): from DSH 0.1.7 on, settings are addressed by entry id, and a name that differs from the namespace the plugin registers leaves the saved families and weights in the imported file, unread (which shows up as "the plugin does nothing"). With the matching id the package can also be installed through the profile's `dsh.profile.bundles`.

## [0.2.5] - 2026-09-23

### Fixed
- **Installed as a link to the source directory, the card and the fonts disappeared together on 0.1.5-rc.x**: the plugin used the copy of the schema library in its own directory instead of the one DSH provides, and the newer copy marked the configuration in a way the rc line's settings controller cannot handle — the settings namespace was therefore never registered: no card in the settings sheet, an empty injected stylesheet, no typography change at all. It now always uses the copy DSH ships, so a linked install and a normal install behave identically.

## [0.2.4] - 2026-09-23

### Added
- **One package for both host lines**: it installs and works as-is on **DSH 0.1.5-rc.1 – rc.3** and on **0.1.7-alpha.1 – alpha.2**, with no version to pick. At runtime the plugin uses whichever settings interface the host offers (the rc line's and the alpha's are different); when neither is there it only injects the font and shows no card.
- **A configuration entry point on the alpha**: on 0.1.7-alpha.x the card lives in the sidebar's Plugins page, under the plugin entry "Font tune"; on rc.x it stays in Settings → Plugins → Plugin configuration.

### Fixed
- **On the alpha the card's first render was a column of empty controls**: it was reading the host's internal references instead of the values, so the injected stylesheet came out empty; the first frame now carries the right family and readouts.
- **On the alpha an edit reported "The setting was not saved"**: the plugin could write to a place that was not its own; it now writes only after confirming the configuration is its own.

### Changed
- The compatibility statement and the compatibility table in both READMEs are updated to 0.2.4, listing the five host lines that were actually tested (0.1.5-rc.1 / rc.2 / rc.3 and 0.1.7-alpha.1 / alpha.2) and where each line's settings live.

## [0.2.3] - 2026-09-22

### Fixed
- **A refused settings write no longer looks like a successful one**: when the host rejects a save, the preset row says "The setting was not saved: <reason>" instead of silently snapping the control back to the stored value.
- **Export hands over the whole thing even without a clipboard**: the clipboard is tried first; on an origin that has none (the remote HTTP entry) the legacy copy path is used; only when both fail does the full JSON land in a fully selected read-only box, one copy shortcut away.
- **The font picker**: the four curated groups (monospace / CJK / Latin / generic) no longer vanish once local enumeration succeeds, so a curated family this machine does not have can still be found by name; a family is listed once; a refused font permission is no longer remembered forever — reopening the panel retries after twenty seconds.
- Every per-theme rule now carries its theme prefix (per-theme is not open yet; a latent bug fixed ahead of time).

### Changed
- **A smaller stylesheet and a cheaper background**: collapsing the exclusion lists took one real configuration's stylesheet from 2735 to 2440 bytes, and the size axis now compares three cheap signals before touching any stylesheet at all.
- Compatibility table gained 0.2.3.


## [0.2.2] - 2026-09-16

### Fixed
- **In simple mode the CJK slot could not be picked or cleared**: choosing a family there, or clearing that chip, threw and lost the change (the western slot was fine); all three family sections now write their CJK slot properly.
- **`MS PGothic` / `MS PMincho` are recognised as CJK**: they used to be treated as western, which feeds simple mode's CJK slot.
- **A guard for unwired controls**: the offline checks now fire every control's callback (sliders, segmented controls, the family picker, the preset select, text inputs, every button), so a handler that was never connected fails immediately.

### Changed
- **A release can no longer ship an untested package**: the tag-triggered build runs the full check before packing, and asserts that the packed artifact matches the sources and that the tag matches the version.
- Documentation: editing a source file requires a build first (the browser loads the built artifact), and the market entry only *states* its compatibility — there is no pre-install preflight.


## [0.2.1] - 2026-09-16

### Fixed
- **After switching "interface follows conversation" off, the interface weight did not fall back and reset did nothing**: two copies of the injected stylesheet lived in the page, and the served one is only rebuilt on the next page load, so any change that *removed* a rule never took effect. There is only one copy now, and both switching the follow off and resetting apply immediately.
- **Going from following to not following no longer snaps the interface back to its own old value**: the value the interface was showing is stored as its own the moment the switch goes off, so nothing moves visually and the slider stays where it was; a conversation axis that was never set keeps DSH's own value.
- **The interface weight is back, and it really cannot touch the conversation**: the whole conversation body and code subtree is excluded from the interface weight rule — every interface text element moves, not a single conversation element does.
- **The conversation section no longer claims to "follow the interface" when unset** (the following has always been one-way: the interface follows the conversation).
- The previews inside the card are no longer dragged along by the interface weight: conversation, code and interface previews each match the real surface.

### Changed
- **The follow switch now covers font and weight together**: while it is on the interface uses the conversation's family and weight (its own two controls are hidden); with it off the interface uses its own, and neither side affects the other.


## [0.2.0] - 2026-09-16

### Added
- **Three separate sets of typography**: **conversation** (body, tables, headings — family, size, line height and weight), **interface** (family only, following the conversation by default) and **code** (its own set, with ligatures and feature switches).
- **Conversation size**: −3 to +6 px on top of DSH's own conversation size, moving paragraphs, headings and line height together.
- **Conversation line height**: 100%–160%; the code line height is a separate additive offset.
- **Code ligatures**: default / on / off, plus a sanitized `font-feature-settings` field in advanced mode.
- **Refuse synthetic italics and bolds**: one switch in simple mode, two independent ones in advanced mode.
- **Presets**: a dropdown in the card with five defaults, applied on pick; once one is selected every edit is saved into it; rename, import and export sit beside it (import merges by name, at most 20, synced across browsers).
- **A rebuilt card**: edit mode, a preset bar, then collapsible conversation / interface / code sections that start collapsed, one open at a time, each ending in its own preview; row heights and controls match dsh-quick-toc.

### Changed
- **The interface's size, line height and weight axes retired**: DSH has no interface-size interface (the settings page and sidebars use hard-coded sizes upstream), so those axes could not reach the interface and only disturbed the conversation. Size, line height and weight now belong to the conversation alone; the interface keeps the family, which does work. The old fields stay in the schema and keep parsing.
- Font families are delivered through the official theme layer, so a theme switch applies immediately.
- Light and dark share one set of values in this release; per-theme values are deferred.

### Fixed
- **"Changing the interface changed the conversation"**: the interface size axis used to scale the conversation's size chain too; it is isolated now.
- **The conversation size offset only moved headings, not paragraphs**: the offset is added once at the source, so paragraphs, headings and line height all follow.
- **In the dark theme a dark value could be overridden by a light one.**
- **The weight readout said "not set" while the slider sat at 400**: the readout is 400 now.
- **The `%` disappeared while dragging the line-height slider**: the pending readout carries its unit too.
- **The conversation section showed English variable names as labels**: both dictionaries are complete.
- The first field of an expanded section sat too far from the heading, and the expanded chevron was not pinned to the right.


## [0.1.6] - 2026-09-15

### Fixed
- **The card's expand chevron did not match the host's**: it was a text character — thinner than the host's arrows and off-centre when rotated. It is now the host's own inline chevron, rotating around its own centre.


## [0.1.5] - 2026-09-15

### Added
- **Code weight**: weight split into independent "body weight" and "code weight" sliders (300–600 each, 400 meaning unchanged), so changing the body no longer drags the code along.

### Changed
- The weight slider moved into the family group it belongs to, with separate labels for the two.
- An unset code weight now writes DSH's own value back explicitly, so code does not follow the body weight after upgrading.


## [0.1.4] - 2026-09-15

### Added
- **Code size**: size split into independent "body size" and "code size" sliders (−3 to +6 px each, 0 meaning unchanged), so changing the body no longer drags the code along.

### Changed
- The size slider moved under the family it belongs to, with separate labels; after upgrading the body behaves as before and code returns to DSH's own value.


## [0.1.3] - 2026-09-14

### Changed
- The switch row's label became "edit mode", and its two options went back to a joined segmented control with one divider between them.
- The card description now mentions the western/CJK split.
- The README dropped three implementation notes ("written on release", "no font flash on the first frame", "bilingual") — behaviour unchanged.


## [0.1.2] - 2026-09-14

### Changed
- The README was rewritten as features / install / usage / compatibility / development; design trade-offs and development pitfalls left it (both languages).
- The compatibility statement is narrower: only the latest patch of the 0.1.5 line is listed — older patches in the same major are compatible per semantic versioning and are no longer enumerated.
- The npm description was trimmed (published metadata cannot be edited, so this takes effect from 0.1.2), and the English card title became "Font tune", matching the package name.


## [0.1.1] - 2026-09-14

### Added
- An English changelog, `CHANGELOG.en.md`, shipped with the package.
- Pushing a `v*` tag now packs and creates/updates a Release automatically, including a version-less `dsh-fonttune.tgz` for the market entry to link to; the release body is the Chinese section for that version with the English one folded inside.


## [0.1.0] - 2026-09-14

The first release: a two-half plugin. The browser half owns the settings card and the style injection; the host half registers the settings namespace and serves the saved declarations with the index, so the first frame already uses them.

### Added
- **The plugin configuration card**: in Settings → Plugins → Plugin configuration, reading and writing DSH's own settings document.
- **Two font stacks**, one for the body and one for code, each a fallback list that may be empty (= leave DSH's fonts alone).
- **A font picker**: the built-in monospace / CJK / Latin / generic groups, the machine's installed families on Chromium, a "use <name>" entry for anything not listed, and every row rendered in its own family.
- **Western/CJK split (simple mode)**: the stack becomes a western slot and a CJK slot while every other entry and the order stay untouched; advanced mode is the full chip editor with drag reordering and a live preview.
- **A global size offset** (−3 to +6 px, stacking with DSH's own size slider) and **a global weight** (300–600, 400 meaning unchanged).
- **Sliders write on release**: nothing is written while dragging, and the readout holds until the host confirms.
- **Bilingual copy**; family names are sanitized so they cannot close a declaration or open a rule.

### Fixed
- **The card crashed on its first render** (a release blocker): the subscribe method was passed bare, losing `this`, so the card never appeared on the plugin configuration page.
- **Three problems in the size offset**: the body itself was not scaled, a refresh multiplied the plugin's own declarations as if they were the baseline, and derived sizes were scaled twice.
- **The family did not reach the conversation area or the sidebars** (those areas declare the font variable themselves).
- **The weight was snapped to the nearest hundred**: any integer now applies as chosen.
- **Family sanitizing was too permissive.**

