Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Orientation: planning

Open
#2 0 comments 0 reactions 1 assignee View on GitHub

@easytarget is already working on this.

Since Mar 31, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement help wanted

I want to add 'orientation' options;

This enables rotated text, and effects such as mirroring.

  • flip (bool) : mirror about the horizontal axis
    • simply manipulate the glyph before adding to character framebuffer
    • affects the vertical alignment operation for baseline, flips top and bottom
  • mirror (bool) : mirror about the vertical axis
    • reverse the character print order
    • manipulate the glyph before adding to character framebuffer
    • flip left and right horizontal alignment
  • twist (bool)
    • hardest
    • change the print direction
    • change the alignment operation (this could get complex)
    • manipulate the glyph before adding to character framebuffer (which needs x/y dimensions adjusted to suit)

Changes applied to the alignment by flipping and mirroring, plus the axis swap from twist need to affect be reflected in returns from the rect() method (but size should be unaffected? I need to think about whether width and height should be swapped when twist is applied?, humm...)

Dominant language
Python
Stars
75
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from easytarget/microPyEZfonts

All issues in easytarget/microPyEZfonts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.