circuitpython/tools
Radomir Dopieralski 7c908b08ee Use FONTBOUNDINGBOX for font metrics
Instead of iterating over all the glyphs and calculating the maximum
width and height, use the FONTBOUNDINGBOX to determine the size of a
tile for terminalio.

This works better with fonts such as generated by FontForge, that don't
include the empty space in the glyph bitmap itself. It also lets the
font author specify vertical spacing they want.

I only tested this with the default font and with one I generated with
FontForge.
2019-06-30 01:10:47 +02: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@dac9689e27 updated usb_descriptor submodule per @hathach 2019-04-05 11:52:38 -04: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 Add alias support for unique board revs 2019-04-11 11:25:04 -07:00
build_memory_info.py Correct _etext location; clean up .ld files 2018-02-09 11:31:18 -05:00
build_release_files.py Implement forced clean builds for boards so designated. 2019-05-24 15:32:24 -04: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 Support internationalisation. 2018-08-07 14:58:57 -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 script to convert release notes from Markdown 2019-03-30 23:31:11 -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 Use FONTBOUNDINGBOX for font metrics 2019-06-30 01:10:47 +02:00
gen_usb_descriptor.py Polish thanks to Dan's feedback 2019-01-10 11:00:40 -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 Move atmel-samd to tinyusb and support nRF flash. 2018-11-08 17:25:30 -08: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 Don't freeze the tests directory 2018-10-05 15:14:34 -07: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