[ANN][VW] FontMetricsInspector for font/text debugging

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN][VW] FontMetricsInspector for font/text debugging

Andre Schnoor
Hi list,

in the public Cincom repository, you will find a small but handy new
tool for visualizing font and text attribute measures (see attached
screenshot). I created it to debug and fix several font issues with the
MacOSX native VM (with success, fortunately), so  I thought it may be
useful also for others. It was tested on VW 7.5 on Windows XP and MacOSX
but should run on earlier versions and all other platforms als well.

The package name is "CGN Tools-Fonts". Please read the package
description below.

I hope it will be useful - enjoy.

Andre

--

"This package contains FontMetricsInspector, a handy tool for the
examination of particular platform fonts and their measurement. The tool
visualizes a text sample with markers for ascent, descent, baseline,
leading and overall line height. This is especially useful for debugging
issues with fonts and TextAttributes on different platforms.
Implementations for the #printOn: method were added to FontDescription,
TextAttributes, PlatformCharacterAttributes and SccreenFont, making
debugging font and text issues with the Trippy inspector more
convenient. Evaluate "FontMetricsInspector new open" to open a new
inspector. The package is Freeware. Feel free to extend the package."



FontMetricsInspector.gif (69K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN][VW] FontMetricsInspector for font/text debugging

Conrad Taylor
Hi, is there any plans for adding such a tool to change the fonts within the VW environment?  BTW, very nice tool and I would like to see it work its way into the settings for VW Smalltalk to change fonts.

-Conrad

On 8/31/07, Andre Schnoor <[hidden email]> wrote:
Hi list,

in the public Cincom repository, you will find a small but handy new
tool for visualizing font and text attribute measures (see attached
screenshot). I created it to debug and fix several font issues with the
MacOSX native VM (with success, fortunately), so  I thought it may be
useful also for others. It was tested on VW 7.5 on Windows XP and MacOSX
but should run on earlier versions and all other platforms als well.

The package name is "CGN Tools-Fonts". Please read the package
description below.

I hope it will be useful - enjoy.

Andre

--

"This package contains FontMetricsInspector, a handy tool for the
examination of particular platform fonts and their measurement. The tool
visualizes a text sample with markers for ascent, descent, baseline,
leading and overall line height. This is especially useful for debugging
issues with fonts and TextAttributes on different platforms.
Implementations for the #printOn: method were added to FontDescription,
TextAttributes, PlatformCharacterAttributes and SccreenFont, making
debugging font and text issues with the Trippy inspector more
convenient. Evaluate "FontMetricsInspector new open" to open a new
inspector. The package is Freeware. Feel free to extend the package."