[futurebasic] Re: RFC a text cleaning DCOD

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 1998 : Group Archive : Group : All Groups

From: jonathan <jonathan@...>
Date: Ven, 31 Jul 98 18:52:57 +0200
hi tedd,

>>48   _capitalise    - change all text to lowercase,
>>                      inserting uppercase if needed
>
>Not sure what the above means. Is this the similar to "Small Caps" as found
>in MS Word? In other words, it makes the first letter of each word an
>uppercase and reduces all others to lowercase.

yes and no.

For example: jAbBeRwOcKy

using
8    _lowerCase     - change all text to lowercase
becomes:     jabberwocky

using
32   _upperCase     - change all text to uppercase, 
becomes:     JABBERWOCKY

using
48   _capitalise    - change all text to lowercase,
                      inserting uppercase if needed
becomes:     Jabberwocky.

Small caps usually means that the capital letters
are the same height as the lower case letters (technically
the x-height).
So your description was accurate, where the name is
misleading.

Further on the subject.
For '_capitalise' the first letter would be systematically
capitalised, then full stops (periods in US) would be detected
as well as opening quote marks, in order to capitalise
the following char.

jonathan


-------------------------------------------------------------
! "format utile"  studio de graphisme/graphic design studio !
!      32 bd de Menilmontant, 75020 Paris, France           !
!    phone +33 1 43 49 02 04 +++ fax +33 1 43 49 16 51      !
-------------------------------------------------------------
           *** coming soon to a browser near you ***
          <http://www.cycbercities.com/formatutile>
-------------------------------------------------------------