Re: Properties of system fonts
- From: spamgate@xxxxxxxxxxx (ML)
- Date: Thu, 17 May 2007 11:09:01 +0200
font.6="1.Bitstream Vera Sans Mono Bold Biggest"
IF Abbrev(lastword,"B")=1 THEN DO
IF Length(firstwords||" Bold")>32 THEN DO
SAY ' -> Please read "Bold" instead of "'||lastword||'"'
FWIW, you should be able to avoid this one from going wrong as good as
possible with comparing all (7) characters instead of just 1 ("B"). The
name isn't compliant with my (assumed) limit of 32 bytes, but OTOH there
is no reason to vice versa translate "Bold" to "Biggest". In Rexx, not
tested, and also taking "bOLD" into account:
IF Abbrev(Translate(lastword),"BOLD",Length(lastword))=1 THEN DO
This should compare "BIGGEST" with "BOLD" (fails) instead of comparing
it with "B" (passes; could be allright, depending on naming rules).
---
.
- References:
- Properties of system fonts
- From: Peter Weilbacher
- Re: Properties of system fonts
- From: ML
- Properties of system fonts
- Prev by Date: Re: Properties of system fonts
- Next by Date: Re: Properties of system fonts
- Previous by thread: Re: Properties of system fonts
- Next by thread: Re: Properties of system fonts
- Index(es):
Relevant Pages
|