Commit graph

269 commits

Author SHA1 Message Date
foamyguy
9d28b6c6d1
Merge pull request #86 from kmatch98/many_cleanups
Bug fixes related to positioning and bounding box size
2020-08-22 10:27:47 -05:00
Kevin Matocha
59c9544605 Update font filename 2020-08-21 22:30:11 -05:00
Kevin Matocha
f83687c47a rearrange import statements for pylint 2020-08-21 22:26:59 -05:00
Kevin Matocha
61dac4d83d rename error variable name for pylint 2020-08-21 22:22:36 -05:00
Kevin Matocha
3f9ea73480 Add raise from for exception handling 2020-08-21 22:19:32 -05:00
Kevin Matocha
cf6d7130d0 Delete redundant + sign 2020-08-21 21:33:47 -05:00
Kevin Matocha
ec28d2a8ec Update header docs to previous release 2020-08-20 12:59:59 -05:00
Kevin Matocha
704744f417 remove whitespace 2020-08-20 12:53:29 -05:00
Kevin Matocha
1421c5d57e Update docs to try to solve unexpected-indentation 2020-08-20 12:10:21 -05:00
Kevin Matocha
7d70ca7a7f Update spacing in doc string 2020-08-20 12:05:35 -05:00
kmatch98
518cc0c45d
Merge branch 'master' into many_cleanups 2020-08-20 11:45:31 -05:00
Kevin Matocha
f37e66c2d3 Fix bugs with anchored_position and scaling 2020-08-20 11:37:11 -05:00
Jeff Epler
5ff8c19af7
Merge pull request #88 from FoamyGuy/fix_load_glyphs_for_builtin
gracefully recover if load_glpyhs does not exist on font we are using
2020-08-19 10:34:03 -05:00
FoamyGuy
3b03903091 gracefully recover if load_glpyhs does not exist on font we are using 2020-08-19 09:53:28 -05:00
foamyguy
54acb53d11
Merge pull request #83 from FoamyGuy/fix_anchored_position_rounding
Fix anchored position rounding
2020-08-18 13:55:23 -05:00
Kevin Matocha
6862809305 all: Correct left-hand bounding box position, that was problematic for slanted fonts 2020-08-18 11:59:35 -05:00
Kevin Matocha
c30285993a all: Correct right-side of bounding box for slanted fonts; correct y_offset by deleting impact of newlines, bitmap_label: fix anchored_position rounding error, add speedup with load_glyphs 2020-08-18 11:25:08 -05:00
Scott Shawcroft
5a514ce4ef
Merge pull request #85 from kmatch98/glyph_speedup
Include `load_glyphs` of full text string prior to character-processing loop in `_update_text`
2020-08-17 14:37:54 -07:00
Kattni
a99517f50e
Merge pull request #79 from kmatch98/bitmap_label
Add `bitmap_label.py` library for reduced memory usage for displaying text
2020-08-17 15:59:27 -04:00
Kevin Matocha
62de33b401 run black 2020-08-17 12:38:33 -05:00
Kevin Matocha
11f7fe8b11 Include load_glyphs of full text string prior to character-processing loop in _update_text 2020-08-17 11:44:33 -05:00
FoamyGuy
b598e15e79 fix y position shifting when text changes 2020-08-15 12:43:21 -05:00
FoamyGuy
ff4be2722d black format 2020-08-14 19:00:20 -05:00
FoamyGuy
42579f870e fix anchored position rounding issue 2020-08-14 18:59:22 -05:00
Margaret Matocha
d4517644f6 added glyphs and moved variable outside of memory check 2020-08-13 08:23:50 -05:00
Margaret Matocha
b0d1d5914a Deleted unnecessary import 2020-08-12 08:19:01 -05:00
Margaret Matocha
12440fd02a Ran black on example 2020-08-12 08:16:26 -05:00
kmatch98
c16dac7dc2
Merge pull request #4 from FoamyGuy/my_bitmap_label
simplifying example scripts. Awesome!
2020-08-12 08:12:34 -05:00
Margaret Matocha
b14b9455fd Added pylint: disable=no-self-use on getters that throw errors 2020-08-11 21:14:07 -05:00
FoamyGuy
3084b17078 Merge branch 'kmatch_bitmap_label' into my_bitmap_label 2020-08-11 20:19:39 -05:00
FoamyGuy
8c98dacd81 working on comparison example 2020-08-11 20:09:22 -05:00
Margaret Matocha
e443db2874 Updated getters/setters to match label.py 2020-08-11 19:26:53 -05:00
FoamyGuy
b6662efe48 working on bitmap_label vs. label comparison example 2020-08-11 19:04:15 -05:00
FoamyGuy
e08643cdf8 changing example script to simpletest 2020-08-11 18:42:34 -05:00
FoamyGuy
61481a7182 Merge branch 'kmatch_bitmap_label' into my_bitmap_label 2020-08-11 18:36:34 -05:00
Scott Shawcroft
dc3dcd2044
Merge pull request #81 from kmatch98/anchor_fix
Updated label.py to correct position of initial blank text
2020-08-11 11:00:37 -07:00
Margaret Matocha
b66efa1323 Deleted else and corrected tabbing 2020-08-10 18:32:47 -05:00
Margaret Matocha
e89c457f19 Changed pass to return per requested change 2020-08-10 18:23:01 -05:00
Margaret Matocha
4cfc2a4675 ran black 2020-08-08 10:15:38 -05:00
Margaret Matocha
6aac22d59d minor edits of comments and for pylint no-member 2020-08-08 10:12:40 -05:00
Margaret Matocha
3c9e414c8a Updated label.py to correct position of initial blank text 2020-08-08 09:56:14 -05:00
Margaret Matocha
6a30b327dc ran black 2020-08-06 20:45:48 -05:00
Margaret Matocha
119a7d0aed Limited pylint cleanup of examples 2020-08-06 20:37:37 -05:00
Margaret Matocha
dfe6899570 cleaned for pylint and black 2020-08-06 20:25:48 -05:00
Margaret Matocha
4bdfb61e8d Ran black 2020-08-06 19:42:49 -05:00
Margaret Matocha
9ffd22a7b9 Ran black on examples 2020-08-06 19:37:41 -05:00
Margaret Matocha
93756e43e6 Updated class function organization and ran black 2020-08-06 19:22:52 -05:00
Margaret Matocha
9640d00d04 Removed unnecessary comments and ran black 2020-08-06 17:23:19 -05:00
Margaret Matocha
8a164973b6 Add more complex example with alternating display of label and bitmap_label 2020-08-06 17:18:10 -05:00
Margaret Matocha
accdb87056 Added simpletest, with time measurement 2020-08-05 13:29:58 -05:00