Skip to content

Add font family support for QR code frames#255

Merged
lyqht merged 1 commit intomainfrom
feat/frame-font
Mar 13, 2026
Merged

Add font family support for QR code frames#255
lyqht merged 1 commit intomainfrom
feat/frame-font

Conversation

@lyqht
Copy link
Copy Markdown
Owner

@lyqht lyqht commented Mar 13, 2026

This pull request adds font family support to QR code frames in both single and batch export modes.

Where to find it

CleanShot 2026-03-13 at 20.20.09@2x.png

CleanShot 2026-03-13 at 20.20.19@2x.png

Testing

Changes

  • Added frameFontFamily field support to CSV batch processing for both simple and vCard formats
  • Introduced a curated font selection dropdown with web-safe fonts (Arial, Georgia, Verdana) and popular Google Fonts (Roboto, Open Sans, Poppins, etc.)
  • Implemented dynamic Google Font loading when non-system fonts are selected
  • Updated the frame component to apply the selected font family to frame text
  • Enhanced the batch preview panel to display the font family for each row when specified
  • Modified CSV parsing to handle the new frameFontFamily column
  • Updated CSV examples and field guides to include the new font family option
  • Added comprehensive test coverage for font family validation and CSV parsing

The font family can be specified in CSV files using either the font label (e.g., "Poppins") or the full CSS value (e.g., "'Poppins', sans-serif"). Google Fonts are automatically loaded when selected, while system fonts require no additional loading.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Mar 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mini-qr Ready Ready Preview, Comment Mar 13, 2026 0:40am

Copy link
Copy Markdown
Owner Author

lyqht commented Mar 13, 2026

@lyqht lyqht mentioned this pull request Mar 13, 2026
@lyqht lyqht marked this pull request as ready for review March 13, 2026 12:36
Copy link
Copy Markdown
Owner Author

lyqht commented Mar 13, 2026

Merge activity

  • Mar 13, 12:37 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 13, 12:40 PM UTC: Graphite rebased this pull request as part of a merge.
  • Mar 13, 12:41 PM UTC: @lyqht merged this pull request with Graphite.

@lyqht lyqht changed the base branch from chore/translations-13/3/2026 to graphite-base/255 March 13, 2026 12:38
@lyqht lyqht changed the base branch from graphite-base/255 to main March 13, 2026 12:39
@lyqht lyqht force-pushed the feat/frame-font branch from eda52d3 to e301f96 Compare March 13, 2026 12:40
@lyqht lyqht merged commit d479bce into main Mar 13, 2026
4 checks passed
@lyqht lyqht deleted the feat/frame-font branch March 13, 2026 12:41
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