We would prefer that our CE image use Arial rather than Tahoma. So I
did some digging and ended up adding the following to my project.reg:

<code>
[HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt]
"Nm" = "Tahoma"
"Ht" = 10

[HKEY_LOCAL_MAHINE\SYSTEM\GDI\FontAlias]
"Tahoma" = "Arial"
</code>

When I attempt to sysgen I get the following error:
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\Software
\Microsoft\FontLink\SkipTable] "Tahoma" in system registry
regcomp: Error: InitRegistry FAILED on or near line 6849 of C:
\WINCE500\PBWorkspaces\CirrusTestBedD\RelDir\ep93xx\edb9315a\..\..
\ep93xx_ARMV4I_Release\reginit.ini.
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).


My questions are
1) where should I look to gain a better understanding of what is
wrong?
2) any idea what is wrong?

I took these setting from MSDN <http://msdn2.microsoft.com/EN-US/
library/ms901104.aspx> and <http://msdn2.microsoft.com/EN-US/library/
ms901105.aspx>.

Pat O

Re: Font Alias? by Valter

Valter
Mon Aug 20 07:22:15 CDT 2007

Pat O <pdohara@gmail.com> wrote in
news:1187388170.856966.318660@i13g2000prf.googlegroups.com:

[...]
> When I attempt to sysgen I get the following error:
> regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\Software
> \Microsoft\FontLink\SkipTable] "Tahoma" in system registry
> regcomp: Error: InitRegistry FAILED on or near line 6849 of C:
> \WINCE500\PBWorkspaces\CirrusTestBedD\RelDir\ep93xx\edb9315a\..\..
> \ep93xx_ARMV4I_Release\reginit.ini.
> makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
> makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).

The first message is not an error, it simply warns you that a value
inside your registry has been overwritten. Check what's on line 6849
of your reginit.ini, but I suspect that you should insert:

[HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt]
"Nm" = "Tahoma"
"Ht" = _"_10_"_

or

[HKEY_LOCAL_MACHINE\SYSTEM\GDI\SysFnt]
"Nm" = "Tahoma"
"Ht" = _dword:_10

depending of the kind of value that the system expects for the "Ht"
subkey (the underscores are used only to highlight the changes).

--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)

Re: Font Alias? by jfiguero

jfiguero
Fri Aug 31 15:56:37 CDT 2007

Valter is correct. You are missing the datatype for the registry value.
For more details on the .reg file syntax see
http://support.microsoft.com/kb/310516

This posting is provided "AS IS" with no warranties, and confers no rights.