[comp.windows.ms] Building a font

myk@vax5.cit.cornell.edu (12/11/90)

I am trying to build a .FON file under Windows 3.0.  I have C 6.0,
MASM 5.1, and SDK 3.0.  I did find the corrections to Chapter 18
of Guide to Programming, but this still doesn't work.  The linker
keeps saying 'No segments defined' and Windows won't install the
font.  I am not an assembler programmer; I have a vague idea what
segments are, but the documentation didn't say to put one in, and
I don't know how to do it myself.  Here are all my source files.

[SPOKENJ]

spokenj.obj: spokenj.asm
    masm spokenj;

spokenj.exe: spokenj.def spokenj.obj spokenj.rc spokenj.exe 
       JSLTRM.FNT  JSLVGA.FNT
    link4 spokenj.obj, spokenj.exe, NUL, slibcew /NOD, spokenj.def
    rc spokenj.rc
    rename spokenj.exe spokenj.fon

[SPOKENJ.ASM]

    TITLE   SPOKENJ -- Stub file to build a .FON resource file

    .xlist
    include cmacros.inc
    .list

    sBegin  CODE
    sEnd    CODE
    end

[SPOKENJ.RC]

1   FONT    JSLTRM.FNT
2   FONT    JSLVGA.FNT

[SPOKENJ.DEF]

    LIBRARY SpokenJ

               DESCRIPTION 'SPOKENJ 100,96,96 : Romanji (Set #5?)'
    EXETYPE WINDOWS

    STUB    'WINSTUB.EXE'
    DATA    NONE

[end of files]

Our group does not have approval to use funds for subscribing to online
services (e.g. CompuServe or Microsoft Online).  How should I find
answers to this?
----
Mike Oltz   Interactive Multimedia Group
myk@cornella.bitnet    myk@cornella.cit.cornell.edu