Article View: comp.windows.ms.programmer
Article #2203Writing vertical text with a non-stroked font
From: Oivind Toien
Date: Fri, 19 Apr 1991 14:48
Date: Fri, 19 Apr 1991 14:48
24 lines
1650 bytes
1650 bytes
I am trying to output vertical text to the screen initiated with the CreateFontIndirect procedure. Setting the parameters lfOrientation:=900; and lfEscapement:=900; makes stroked fonts (Roman, Script and Modern) appear vertical. This does however not work with the bit-mapped fonts, and not with the corresponding fonts on a system where ATM was installed. The example I modified (GDIDEMO.PAS that came with TP for Windows) uses the TextOut procedure. I have tried to play with the other parameters in TLogFont with no improvement. EXCEL 3.0 is however able to do this, and it seems that they do not use special fonts. (I may be wrong here). Am I missing something here? If it is not possible to do this now (except using non-standard fonts and techniques), will this improve when we get true-type? Any comment will be appreciated. I will need vertical text on the Y-axis for a plotting-program. -- Oivind Toien <oivindt@ulrik.uio.no> Div. of General Physiology, Dept. of Biology, Univ. of Oslo P.O. Box 1051, N-0316 Oslo 3, NORWAY Phone+47-2-454732 Fax+47-2-454726
Technical Details
Message-ID:
<OIVINDT.91Apr19164856@darwin.uio.no>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ulrik!oivindtShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!nuug!ulrik!oivindt From: oivindt@bio.uio.no (Oivind Toien) Newsgroups: comp.windows.ms.programmer,comp.lang.pascal Subject: Writing vertical text with a non-stroked font Message-ID: <OIVINDT.91Apr19164856@darwin.uio.no> Date: 19 Apr 91 14:48:56 GMT Sender: news@ulrik.uio.no (USENET News System) Distribution: comp Organization: University of Oslo, Norway Lines: 24 Nntp-Posting-Host: darwin.uio.no