Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

MOSFET "g" anchor displaced after migration from 0.4.0 to 0.5.0 #156

@henningf3

Description

@henningf3

Description

After latest update, the MOSFET "g" anchor seems displaced. See "actual" vs. "expected" in reproduction.

Reproduction

// actual
#figure(
  zap.circuit({
    import zap: *
    mosfet("m1", (3, 1.5))
    swire("m1.g", (1.5, 1))
  })
)

// expected
#figure(
  zap.circuit({
    import zap: *
    mosfet("m1", (3, 1.5))
    swire(("m1.s", "-|", "m1.gl"), (1.5, 1))
  })
)

Zap Version

0.5.0 (default)

Typst Version

0.14.1 (default)

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions