Skip to content

Simple font size scaling for framebuf - #3583

Closed
livius2 wants to merge 1 commit into
micropython:masterfrom
livius2:patch-4
Closed

livius2 wants to merge 1 commit into
micropython:masterfrom
livius2:patch-4

Conversation

@livius2

@livius2 livius2 commented Jan 27, 2018

Copy link
Copy Markdown

I have implemented simple font size scaling as framebuf_text_scaled

usage from python size x 4
framebuf.text_scaled('Ab', 0, 26, 4)

I have implemented simple font scale as framebuf_text_scaled
usage from python size x 4
framebuf.text_scaled('Ab', 0, 26, 4)
livius2 added a commit to livius2/pycom-micropython-sigfox that referenced this pull request Jan 27, 2018
I have implemented simple font size scaling as `framebuf_text_scaled`

usage from python size x 4
`framebuf.text_scaled('Ab', 0, 26, 4)`

also posted to official micropython as
micropython/micropython#3583
@livius2

livius2 commented May 2, 2021

Copy link
Copy Markdown
Author

I am curious, why it cannot be merged for so long time ;-)

@peterhinch

Copy link
Copy Markdown
Contributor

Perhaps because there is a way to render arbitrary fonts to a frame buffer?

@livius2

livius2 commented May 4, 2021

Copy link
Copy Markdown
Author

Mybe better if i show results:

StacjaPogodowaLivius — kopia

@dpgeorge dpgeorge added the extmod Relates to extmod/ directory in source label Nov 30, 2021
@projectgus

Copy link
Copy Markdown
Contributor

This is an automated heads-up that we've just merged a Pull Request
that removes the STATIC macro from MicroPython's C API.

See #13763

A search suggests this PR might apply the STATIC macro to some C code. If it
does, then next time you rebase the PR (or merge from master) then you should
please replace all the STATIC keywords with static.

Although this is an automated message, feel free to @-reply to me directly if
you have any questions about this.

@projectgus

Copy link
Copy Markdown
Contributor

There is a newer (but still quite old) PR #6263 which implements the same functionality with a smaller footprint, so I'm going to close this PR in favour of that one.

@projectgus projectgus closed this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extmod Relates to extmod/ directory in source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants