Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TFT_eSPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
TFT_eSPI
Commits
4fae4fa6
Unverified
Commit
4fae4fa6
authored
Feb 21, 2022
by
Bodmer
Committed by
GitHub
Feb 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #1656
parent
92d51413
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
TFT_eSPI.cpp
TFT_eSPI.cpp
+1
-1
No files found.
TFT_eSPI.cpp
View file @
4fae4fa6
...
...
@@ -5191,7 +5191,7 @@ void TFT_eSPI::setFreeFont(const GFXfont *f)
uint16_t
numChars
=
pgm_read_word
(
&
gfxFont
->
last
)
-
pgm_read_word
(
&
gfxFont
->
first
);
// Find the biggest above and below baseline offsets
for
(
uint
8
_t
c
=
0
;
c
<
numChars
;
c
++
)
{
for
(
uint
16
_t
c
=
0
;
c
<
numChars
;
c
++
)
{
GFXglyph
*
glyph1
=
&
(((
GFXglyph
*
)
pgm_read_dword
(
&
gfxFont
->
glyph
))[
c
]);
int8_t
ab
=
-
pgm_read_byte
(
&
glyph1
->
yOffset
);
if
(
ab
>
glyph_ab
)
glyph_ab
=
ab
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment