Tag: Python

teaser

Setting individual mouse pointer speeds in Linux with micetune

This post is about micetune, a Python script I wrote for setting individual pointer speeds for different mouse devices in Linux, with the ability to reduce the speed beyond what the control center setting allows. The script changes the real pointer speed without involving acceleration.

... read more ...

teaser

Making parallel text PDFs for e-readers

This post explains the scripts: dualtext2pdf and dualtext2html that convert two Markdown formatted texts with alignment cues into a dual text or parallel text PDF. The scripts are intended for generating bilingual e-reader friendly PDFs to practice a foreign language.

... read more ...

teaser

Converting fonts to C source using bmfont2c.py script

I’d like to share a Python script I wrote for converting bitmap fonts generated by BMFont to C source code byte arrays and definitions suitable for rendering on a monochrome matrix LCD. The script outputs a C header and C source file ready to plug into some source code tree.

... read more ...