Skip to content

Data Matrix - Option 3 doesn't work properly #27

@Joel-dev-IMP

Description

@Joel-dev-IMP

I'm trying to use the dm-size function to generate a data matrix code with a specific width and height:

#import "@preview/tiaoma:0.3.0"

#tiaoma.data-matrix(
  "MY DATA",
  options: (
    option-3: tiaoma.dm-size(12, 36),
  ),
)

However, I'm getting the following error:

plugin errored with: provided invalid options: Semantic(None, "invalid option value for option_3: 28")

It appears that only "square", "rect" and "iso-144" work. Is there something I'm missing, or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions