tuxpaint-pencil-sharpener/src
Bill Kendrick b373ac8808 WIP - Crop whitespace from label text for better fit
For example, when using a font like OpenDyslexia which has a very
large line spacing, the text gets shrunk since the overall bitmap
is too big for the space on the buttons (compared to the contents).

Cropping the whitespace will allow the text to remain larger.

WIP - The method of cropping isn't great.  Text with descenders
appear higher than text without, causing terrible alignment.
So for now, the new `crop_surface()` code is not being used.

Also, replace some "#ifdef DEBUG printf(...) #endif" with
a simple "DEBUG_PRINTF(...)".  And other minor tweaks.
2023-01-11 01:56:11 -08:00
..
mouse Show "pipette"-shaped pointer when selecting colors 2022-02-01 00:32:26 +01:00
po Credit Bulgarian translation update 2023-01-07 01:22:29 -08:00
.cvsignore Attempting to debug/fix SDL_Pango stuff. 2007-07-17 18:41:16 +00:00
.indent.pro No tabs, spaces only, please 2017-10-15 10:48:45 -07:00
android_assets.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
android_assets.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
android_mbstowcs.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
android_mbstowcs.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
android_print.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
android_print.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
BeOS_print.cpp More indentation! 2019-04-13 12:23:47 -07:00
BeOS_print.h Ran indent on .h files 2019-04-13 12:10:58 -07:00
colors.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
compiler.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
cursor.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
cursor.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
debug.h Pango loads Tux Paint-supplied fonts on macOS. 2022-12-02 22:57:38 -05:00
dirwalk.c Enabled spare strings for font scoring. 2022-12-21 00:03:17 +09:00
dirwalk.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
fill.c Fill: Paint & Radial; bounds check for touched[] 2022-12-23 00:08:52 -08:00
fill.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
fill_tools.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
fonts.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
fonts.h Changing default UI font to DejaVu Sans 2023-01-06 00:59:56 -08:00
get_fname.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
get_fname.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
gifenc.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
gifenc.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
great.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
i18n.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
i18n.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
im.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
im.h Indentation. 2017-12-19 02:17:27 +01:00
install-dlls.sh Do not copy dll(s) if already exist. 2022-02-10 20:02:08 +09:00
ios.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
ios.m Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
ios_print.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
ios_print.m Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
macos.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
macos.m Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
macos_print.h Ran indent on .h files 2019-04-13 12:10:58 -07:00
macos_print.m Re-add print dialog access to macOS. 2018-09-28 23:24:56 -04:00
Makefile use .PHONY 2008-04-27 17:22:01 +00:00
onscreen_keyboard.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
onscreen_keyboard.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
org.tuxpaint.Tuxpaint.appdata.xml.in Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
parse.gperf Stamp rotation on by default 2022-09-05 00:42:03 -07:00
parse.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
pixels.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
pixels.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
platform.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
playsound.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
playsound.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
postscript_print.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
postscript_print.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
progressbar.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
progressbar.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
rgblinear.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
rgblinear.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
shapes.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
sounds.c Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
sounds.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
test-option.sh Changed e-mail address of shin-ichi. 2022-03-11 19:57:56 +09:00
test-png.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
tip_tux.h Added copyright/license to source files that lacked it. 2009-06-03 20:46:07 +00:00
titles.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
tools.h Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
tp-magic-config.sh.in Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
tp_magic_api.h.in Better performance from "Rush" (by using SDL_gfx rotozoom) 2022-10-03 22:50:40 -07:00
tuxpaint-completion.bash Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
tuxpaint-import.sh tuxpaint-import tool uses BASHisms, so changed shebang to #!/bin/bash 2009-11-04 19:12:12 +00:00
tuxpaint.c WIP - Crop whitespace from label text for better fit 2023-01-11 01:56:11 -08:00
tuxpaint.conf Update URL to https://tuxpaint.org/ everywhere 2022-12-11 01:29:25 -08:00
tuxpaint.desktop.in Remove trailing period in application summary 2022-07-03 14:49:12 +02:00
tuxpaint.rsrc Added BeOS resource file. 2004-11-22 00:08:54 +00:00
win32_dirent.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
win32_dirent.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
win32_print.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
win32_print.h Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00
win32_trash.c Re-ran indent on all .c & .h source code files 2022-09-15 00:14:20 -07:00