Skip to content

Comments

Fix mixed fonts in tRNA structure legend#19

Merged
jayhesselberth merged 1 commit intodevelfrom
worktree-fix-legend-fonts
Feb 23, 2026
Merged

Fix mixed fonts in tRNA structure legend#19
jayhesselberth merged 1 commit intodevelfrom
worktree-fix-legend-fonts

Conversation

@jayhesselberth
Copy link
Member

Summary

  • Add font-family="Helvetica, Arial, sans-serif" to all 10 <text> elements in add_structure_legend(), which were rendering in the SVG default serif font instead of matching the Helvetica used by R2R and other clover annotations.
  • Re-render the README SVG with the fix applied.

Test plan

  • Verified the rendered SVG legend text elements all include font-family="Helvetica, Arial, sans-serif"
  • Visual inspection of man/figures/README-structure-annotated.svg confirms consistent sans-serif font

🤖 Generated with Claude Code

Legend text elements in `add_structure_legend()` were missing `font-family`,
causing them to render in the SVG default serif font instead of matching the
Helvetica used by R2R and the rest of the clover annotations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jayhesselberth jayhesselberth merged commit f3aeb3c into devel Feb 23, 2026
3 of 4 checks passed
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