TypeSmith Stylist
=================
PURPOSE
The archive contains three ARexx scripts for TypeSmith to create
bold and/or italic typefaces.
I am using FinalWriter for writing texts and the most of my fonts
are PS Type1 fonts. On PCs these fonts will be algorithmically
embolded and italicized. FinalWriter cannot do that, it only looks
for files ending by "_Bold", "_Italic" or "_BoldItalic". If they
exist, FinalWriter uses them, otherwise FinalWriter use the normal
font.
So I decided to create bold and/or italic fonts and store them in
the according "_Bold", "_Italic" or "_BoldItalic" files. TypeSmith
itself has no functions for it, but a ARexx interface with useful
functions. I started writing the scripts to create correct embolded
and italicized fonts.
Note: Do not expect high quality embolded fonts! The emboldening is
made algorithmically without optimization, so sometimes a few
characters may have little gaps.
Due to the nature of TypeSmith, the ARexx interface is not quick. I
created a complete set of typefaces from one font with Bold, Italic
and BoldItalic on my 68060 using 50MHz and it lasts for 5 hours!!!
The guys who wrote TypeSmith never heard anything about speed ...
The only advantage is tracking each step in the drawing window to
see how the scripts work :(
INSTALL
Simply unpack the archive to the TYPESMITH:rexx directory.
REQUIREMENTS
- TypeSmith 2.5 or higher
- rexxmathlib.library V1.3 from Willy Langeveld in LIBS:
(can be found on Aminet)
USAGE
The scripts can be called from everywhere, but I recommend a Shell
window. Usually you need two of them to change the complete charset
of a typeface.
The general steps are:
· Start TypeSmith, if not started yet :-)
· Load or import a font
· Call one or more of the scripts
· Save or export the new font
· Quit TypeSmith, if neccessary :-)
The scripts:
· rr_SlantFont <degree> [<startchar> <endchar>]
<degree> is the angle to skew each character. Unfortunately
TypeSmith does NOT skew relative to the baseline of a font, so I
have to correct the position before skewing. If you don't specify
<startchar> and <endchar>, the script will change all the 256
chars. <degree> is possible between -15 and 15 and if you use the
string DEFAULT instead of a value, the script uses its internal
value. You will be warned if you use wrong parameters.
· rr_BoldenFont <TypeSmith® units> [<startchar> <endchar>]
<units> is the value for emboldening, which is possible between 0
and 15. Note that the script embolds twice in x direction! For
instance you use 10, so the y direction will be increased by 10
and in x direction by 20. If you don't specify <startchar> and
<endchar>, the script will change all the 256 chars. You will be
warned if you use wrong parameters.
· rr_BoldenChar <ASCII> <TypeSmith® units>
This script will be called by rr_BoldenFont. It only embolds the
specified character. <ASCII> can either be the ASCII value or the
character itself. See also description for rr_BoldenFont.
If you want to create a complete set of Normal, Bold, Italic and
BoldItalic fonts, so use following steps:
· Load/import normal font
· call "rr_BoldenFont DEFAULT"
· Save/export as <fontname>_Bold
· call "rr_SlantFont DEFAULT"
· Save/export as <fontname>_BoldItalic
· Load/import normal font
· call "rr_SlantFont DEFAULT"
· Save/export as <fontname>_Italic
DISCLAIMER
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
MISC
Suggestions and bug reports are welcome, but I only want to improve
the algorithmic emboldening and don't think about extending the
scripts, because the purpose of creating bold and/or italic fonts
is fully accomplished.
I have problems exporting Intellifont fonts in TypeSmith. I never
can use such a exported font on AMIGA, because the Intellifont
install program does not accept the new font. Can anyone help? I
really tried everything :-(
I am also looking for font engines for TrueType, NimbusQ and PS
Type1. Anyone out there written those libraries?
CONTACT
Ralph Reuchlein <aminet@rripley.de>
[updated 30-May-2020 because neither address nor email was valid]
|