circuitpython/tools
Jeff Epler a93475707e gen_display_resources: speed it up
It was intended that the `f.load_glyphs` line was fast and did most of
the work.  However, it actually didn't, because it's necessary to pass
in a code point by number, not by string.

Additionally, a little light layer violation is needed to make the check
for missing characters fast.  This used to be less important, as no
fonts had missing characters.  However, it would take an appreciable
length of time on the Korean translation when failing to find hundreds
of different code points.

Testing performed: built
build-circuitplayground_express_displayio/autogen_display_resources.c with ko
translation before and after change.  verified the file content was identical.
Time went from about 7s on my machine to way under 1 second.
2019-12-19 16:26:01 -06:00
..
Tecate-bitmap-fonts@6f52a7ca08 Begin font parsing and packing for terminal 2019-01-31 11:42:13 -08:00
adabot@393c275671 Add support for adding release info into adafruit/circuitpython-org 2018-11-30 00:30:57 -08:00
bitmap_font@62dd78abdd Hook up the terminal based on the first display. 2019-01-31 11:42:14 -08:00
fonts Update font location and shrink a bunch of builds 2019-04-12 15:25:48 -07:00
huffman@27b1bba761 Compress all translated strings with Huffman coding. 2018-08-16 17:40:57 -07:00
python-semver@2001c62d1a merge from 2.2.0 + fix up board defs 2018-01-02 21:25:41 -05:00
uf2@968716efd3 Update uf2 tools to support python3. 2018-07-25 09:39:46 -07:00
usb_descriptor@701cafc50e Update usb_descriptor submodule 2019-10-07 13:44:05 +02:00
.gitattributes micropython-upip: Mark as binary file and re-commit. 2015-06-06 23:09:23 +03:00
.gitignore tools: check-in errordeveloper/tinytest@eb2dbc858f 2014-05-08 01:41:21 +03:00
analyze_heap_dump.py Fix up heap analysis for dynamic heap location 2019-02-01 16:03:37 -08:00
analyze_mpy.py Polish up the heap analysis script and make it more CLI friendly. 2018-01-24 10:33:46 -08:00
bootstrap_upip.sh tools/upip: Upgrade upip to 1.2.4. 2018-04-23 16:11:27 +10:00
build-stm-latest.sh tools: Add STM32F4DISC and ESPRUINO_PICO to stmhal build script. 2015-04-21 13:16:41 +00:00
build_board_info.py Added PyPortal Pynt alias 2019-12-11 11:41:10 -08:00
build_memory_info.py Increase CPX stack size slightly 2019-12-16 17:25:22 -05:00
build_release_files.py Swap the CI to GitHub Actions from Travis 2019-08-27 19:53:54 -07:00
cc1 tools: Add C middle-processor to make builtin tables proper hash tables. 2015-12-31 00:24:33 +00:00
chart_code_size.py Add code size analysis tool and shrink samd.clock a smidge. 2018-06-08 12:56:32 -07:00
check_code_size.sh all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
check_translations.py make translate again; make check-translate passes 2019-08-19 10:25:36 -04:00
ci_new_boards_check.py Fail when boards are missing too 2019-09-30 12:09:29 -07:00
codestats.sh all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
convert_release_notes.py Add support for converting autolinks to BBCode 2019-09-04 17:15:30 -07:00
cpboard.py tools: Add cpboard.py 2018-06-02 19:09:44 +02:00
dfu.py Change dfu.py to be Python 2/3 compatible 2014-01-03 08:51:02 +02:00
file2h.py tools: Fix up pybcdc.inf generation: new lines and hex digits. 2014-04-16 11:45:52 +01:00
fixup_translations.py Update translations based on git history 2019-02-22 15:28:29 -08:00
gc_activity.html Add heap analysis scripts based on GDB breakpoint logs. 2016-11-23 17:31:53 -08:00
gc_activity.md Polish up the heap analysis script and make it more CLI friendly. 2018-01-24 10:33:46 -08:00
gc_activity.py Add heap analysis scripts based on GDB breakpoint logs. 2016-11-23 17:31:53 -08:00
gen-changelog.sh Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc. 2015-10-12 00:06:25 +01:00
gen_display_resources.py gen_display_resources: speed it up 2019-12-19 16:26:01 -06:00
gen_ld_files.py wip 2019-12-05 22:45:53 -05:00
gen_usb_descriptor.py Allow boards to change the "CircuitPython" text in their USB interface description. 2019-11-12 13:29:35 -08:00
gendoc.py tools: Make gendoc.py able to output RST format. 2014-10-31 01:36:11 +00:00
git-checkout-latest-tag.sh forgot tools/git-checkout-latest-tag.sh in PR #1909 2019-06-11 15:22:32 -04:00
hid_report_descriptors.py simpler generation of HID device tables 2019-09-03 21:16:14 -04:00
insert-usb-ids.py various: Spelling fixes 2017-05-29 11:36:05 +03:00
make-frozen.py tools/make-frozen: Update for latest changes in frozen modules support. 2016-05-21 21:39:27 +03:00
mpy-tool.py Add back printing out code info. Whoops! 2018-10-18 14:23:17 -07:00
mpy_bin2res.py tools/mpy_bin2res: Tools to convert binary resources to Python module. 2017-07-27 14:41:27 +03:00
mpy_cross_all.py tools/mpy_cross_all.py: Helper tool to run mpy-cross on the entire project. 2017-05-14 17:51:12 +03:00
output_gc_until_repl.txt Analysis fixes and long lived tweaks. 2018-07-03 05:45:50 -07:00
preprocess_frozen_modules.py preprocess_frozen_modules: exclude subdirs of examples, docs, tests 2019-12-17 10:06:44 -06:00
print_status.py Fix sphinx build issues; add better travis fold reporting; update author info 2019-01-09 16:22:19 -05:00
pyboard.py tools/pyboard: Update docstring for additional device support. 2017-10-08 00:04:57 +03:00
pydfu.py tools/pydfu.py: Add support for multiple memory segments. 2018-06-22 15:32:32 +10:00
tinytest-codegen.py Sync with micropython. closes #1414 2018-12-20 18:44:39 -06:00
upip.py tools/upip: Upgrade upip to 1.2.4. 2018-04-23 16:11:27 +10:00
upip_utarfile.py tools/upip: Upgrade to 1.2.2. 2017-09-29 18:24:11 -07:00
upload_release_files.py When uploading release assets, ignore those already uploaded. 2019-09-14 13:05:52 -07:00