Skip to content

HTML text: a button directly under a block container drops the second glyph of each word ("다시 연결" draws as "다 연") #175

Closed

Description

@b-re-w

Found in the Ember editor (darkpyonix-ember #616).

Observed. A <button class="ed-pj">다시 연결</button> that is a direct child of the terminal panel (a block container) draws as 다 연: the second glyph of each word (시, 결) is not painted, but the space they take is reserved (the button width is right, the gap is where the glyphs belong).

Not the cause (checked).

  • Font coverage: Pretendard Regular/Medium/SemiBold all have U+C2DC and U+ACB0 in their cmap, and CoreText draws 다시 연결 correctly from the same files.
  • Style: the same text with font-weight:400, flex:none; width:max-content, a <span> around the label, white-space:normal, extra padding, letter-spacing:0 all draw whole.

What fixes it. The identical button (even with the unmodified style) draws whole when it sits inside a display:flex row of its own. Directly under the block-level panel it does not. So the glyph loss depends on the parent's layout, not on the button's style.

Repro. Ember develop + #616 minus the wrapper: ember/app/src/ui/editor_workbench.rs, the offer_reconnect block in terminal_body. Without the wrapping div { style: "display:flex; ..." }, run the editor with EMBER_EDITOR_SERVER=http://127.0.0.1:8740 EMBER_EDITOR_COMPUTER=x ember-app --editor p <dir> 127.0.0.1:18765 (nothing on 8740, so the terminal shows its error and the button). Captures (not in the repo): .scratch/pr-captures/owner-conn/term-repro.png (broken), term-variants.png (A to G all whole), term-fixed2.png (wrapped, whole) in darkpyonix-ember.

Suspicion, unverified. The inline layout of a text node with a space inside an inline-flex button that is itself a child of a block box (line breaking at the space, the first glyph of each segment kept).

Activity

  1. added a commit that references this issue on Nov 7, 2026
  2. b-re-w commented on Nov 7, 2026

    @b-re-w
    MemberAuthor

    Landed in develop via #177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions