Discussion:
FTR: PMDraw/2 v1.97 fix (can examine 307 out of 0 fonts)
(too old to reply)
A.D. Fundum
2016-01-10 15:00:11 UTC
Permalink
FTR: PMDraw/2 v1.97 (IBM EWS, pmdraw_197.zip) doesn't always work,
because there are too many fonts installed. PMDraw/2 claims it can
only examine 307 out of 0 fonts.

A possible fix is to delete enough OS2.INI PM_Fonts entries, and to
restore the deleted INI file entries afterwards. Perhaps even while
PMDraw/2 is running, but I didn't tried that. I also haven't tried to
patch PMDRAW.EXE. You can delete all PM_Fonts entries.

At the moment I'm not going to write a PM_Fonts reducer, for one
because there are several strategies to backup and/or restore deleted
INI file entries and I don't want to hide rather dangerous assumptions
in a README.1ST file. Users may also want to delete different font
entries.

If you're going to query and delete the entries, then make sure that
you record both the name of the key (filename) and the matching value
(full path):


/* QUERY.CMD */
CALL RxFuncAdd 'SysIni','RexxUtil','SysIni'
CALL SysIni 'USER','PM_Fonts','ALL:','font.'
DO i=1 TO font.0
key.i=Sysini('USER','PM_Fonts',font.i)
SAY font.i key.i
END i
SAY 'Number of installed fonts (assumed PMDraw/2 target is <= 307):'
font.0
EXIT


A full uninstall of fonts is not required to rescue PMDraw/2, but
apparently there's such a thing as too many recorded fonts.


--
A.D. Fundum
2016-01-11 07:05:29 UTC
Permalink
Post by A.D. Fundum
assumed PMDraw/2 target is <= 307
FWIW: during a test I've deleted all PM_Fonts entries. Just deleting
all TTF font entries to reduce the number of PM_Fonts entries to less
than 308 didn't help.

The assumption still is true, 0 is less than or equal to 307 INI file
entries. So the underlying error (messagebox and a SYS3175) probably
remains the same: more than 307 (sub-) fonts (in <=307 font file INI
entries) installed.

PMDraw also worked with a rather fresh install of OS/2 Warp 4, so the
number of installed fonts doesn't have to be 0 anyway.


--
A.D. Fundum
2016-01-16 11:44:24 UTC
Permalink
Post by A.D. Fundum
FWIW: during a test I've deleted all PM_Fonts entries.
Sorry : today I've deleted all PM_Fonts entries again, before starting
PMDraw/2, but that did NOT help anymore. I don't know why it worked
once. It had nothing to do with installing PMDraw/2 in a root
directory.

So this isn't the one and only solution, and reducing the numbers of
PM_Fonts may or may not help. Apparently it worked for me, but I
cannot reproduce this result.


--

Loading...