Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #2953

Re: Determine if a font is installed in a system

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Uwe Heyer" <uwe.heyer@aristik.de>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Determine if a font is installed in a system
Date 15 Feb 2012 18:24:12 GMT
Lines 33
Message-ID <9q2bicFmp3U1@mid.individual.net> (permalink)
References <1260cf9f-fa9c-40a6-ac56-9bfb5f386b1d@h6g2000yqk.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Trace individual.net IYopfL4Bg/2t8m8gvhdU5gzkuklAS6HyH7wX4GoOcNm5m0elNP
Cancel-Lock sha1:AJAi1MfbQaEyzrJINlZZkjkcAYk=
User-Agent XanaNews/1.19.1.320
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2953

Show key headers only | View raw


wolverine wrote:

Sebastián,

description of EnumFontFamiliesEx

Return Values
The return value is the last value returned by the callback function.
This value depends on which font families are available for the
specified device.


and you code

FUNCTION EnumFontFamExProc(lpelfe AS _winENUMLOGFONTEX, lpntme AS
_winNEWTEXTMETRICEX, FontType AS DWORD, lParam AS DWORD) AS INT
CALLBACK

	//InfoBox{NULL_OBJECT, "Font", Psz2String(@lpelfe.elfFullName) + ", "
+ Psz2String(@lpelfe.elfStyle) + ", " +
Psz2String(@lpelfe.elfScript)}:Show()

	RETURN 1

-----------------------------

following your code EnumFontFamiliesEx() will return everytime 1 and
nothing else


-Uwe

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Determine if a font is installed in a system wolverine <wolverine4277@hotmail.com> - 2012-02-14 13:00 -0800
  Re: Determine if a font is installed in a system "Uwe Heyer" <uwe.heyer@aristik.de> - 2012-02-15 18:24 +0000
    Re: Determine if a font is installed in a system wolverine <wolverine4277@hotmail.com> - 2012-02-16 07:10 -0800
      Re: Determine if a font is installed in a system "Jamal" <vodotnet_nospam@yahoo.com> - 2012-02-16 10:52 -0500
      Re: Determine if a font is installed in a system "Uwe Heyer" <uwe.heyer@aristik.de> - 2012-02-17 15:15 +0000

csiph-web