[comp.os.os2.misc] How compatible are Win3.0 and OS2 PM's BMPs and Fonts?

keating@casemo.UUCP (John Keating ) (08/23/90)

Greetings unto the net!
	
    Well, the subject line about says it all...  Just how easy would it be to
port fonts and BMPs from OS2 1.2 to Windows 3.0?

    John Keating, III


-- 
/* John W. Keating, III           * Disclaimer:  Me?  I'm only a temp! */
/* ...!uunet!mimsy!casemo!keating *                                    */
/* keating@rex.cs.tulane.edu      * "We're off to outer space..."      */

ballard@cheddar.ucs.ubc.ca (Alan Ballard) (08/23/90)

In article <368@casemo.UUCP> keating@casemo.UUCP (John Keating ) writes:
>    Just how easy would it be to
>port fonts and BMPs from OS2 1.2 to Windows 3.0?
>
 
The latest (September 11th) issue of PC Magazine has an article by
Charles Petzold on exactly this.  I think the answer is basically
that Win 3 structure is an expansion of OS/2 1.2 so should be easy to convert.


Alan Ballard                   | Internet: ballard@staff.ucs.ubc.ca
University Computing Services  |   Bitnet: USERAB1@UBCMTSG
University of British Columbia |    Phone: 604-228-3074
Vancouver B.C. Canada V6R 1W5  |      Fax: 604-228-5116

rogerson@PEDEV.Columbia.NCR.COM (Dale Rogerson) (08/24/90)

In article <368@casemo.UUCP> keating@casemo.UUCP (John Keating ) writes:
>Greetings unto the net!
 	
>    Well, the subject line about says it all...  Just how easy would it be to
>port fonts and BMPs from OS2 1.2 to Windows 3.0?
 
>    John Keating, III
>/* ...!uunet!mimsy!casemo!keating *                                    */
>/* keating@rex.cs.tulane.edu      * "We're off to outer space..."      */

	Petzold's last column in _PC Magazine_ (Sep 11,Vol 9 no 15 ) 
	contained the first in a multi-part series on Bitmaps.  It discusses
	OS/2 1.x, OS/2 2.0, Windows 2.x, and Windows 3.0.  Future issues
	should have code to deal with these different types of bitmaps.

	I don't know much about OS/2's Font structure so I do not know the
	answer to that part of the question.  Petzold has covered OS/2 fonts
	in some previous issues of _PC Magazine_.

	Hope this helps.
	-----Dale
		Rogerson-----

roelofs@amelia.nas.nasa.gov (Cave Newt) (08/24/90)

In article <368@casemo.UUCP> keating@casemo.UUCP (John Keating ) writes:
	
>    Well, the subject line about says it all...  Just how easy would it be to
>port fonts and BMPs from OS2 1.2 to Windows 3.0?

The Environments column of the current (11 Sep) issue of PC Magazine 
has a very complete description of the various bitmap formats, going
all the way back to Windows 1.0.  See pp. 403ff.  You may decide the
portability question yourself....

kensy@microsoft.UUCP (Ken SYKES) (08/26/90)

Windows should be able to directly read OS2 1.2 images.  Give it a try
with Paintbrush.  Paintbrush will only save Win3 format images though so
be careful!

I don't think you can use OS/2 1.2 fonts but could be mistaken...


Ken Sykes
Disclaimer: The above opinions are solely my own.

gregh@microsoft.UUCP (Greg HITCHCOCK) (08/30/90)

In article <368@casemo.UUCP> keating@casemo.UUCP (John Keating ) writes:
>Greetings unto the net!
>	
>    Well, the subject line about says it all...  Just how easy would it be to
>port fonts and BMPs from OS2 1.2 to Windows 3.0?
>

Since no one else has addressed the fonts question, here is a quick answer. 

There are two types of fonts supported by OS/2 1.2; bitmap fonts and outline
fonts.  The outline fonts supported by OS/2 are very different than the stroke
fonts supported by Windows.  OS/2 outlines contain a set of graphics
primitives which define a closed path.  This path is then filled to display
the current character.  Windows stroke fonts contain stick figure lines which
are not filled.

Bitmap fonts are very similar between OS/2 1.2 and Windows, but not exactly
the same.  The Font Editor which is provided with the OS/2 SDK will convert
Windows version 1 fonts to OS/2 fonts.  This is an unfortunate way of 
converting fonts, as there are few Windows version 1 fonts floating around,
but there are versions of the Windows font editor which can convert version 2
to version 1 fonts.

Overall, the "raw" fonts that are supplied with Windows and OS/2 1.2 are not
interchangable.

Greg Hitchcock