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


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

Re: Determine if a font is installed in a system

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From "Jamal" <vodotnet_nospam@yahoo.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Determine if a font is installed in a system
Date Thu, 16 Feb 2012 10:52:33 -0500
Organization A noiseless patient Spider
Lines 1
Message-ID <jhj8o8$6o7$1@dont-email.me> (permalink)
References <1260cf9f-fa9c-40a6-ac56-9bfb5f386b1d@h6g2000yqk.googlegroups.com> <9q2bicFmp3U1@mid.individual.net> <e74e0ba8-8aa7-44fc-ae13-fc75e5a5111e@k40g2000yqf.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 8bit
Injection-Date Thu, 16 Feb 2012 15:52:40 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="4VvQbRvz19zWMMlbp34Sow"; logging-data="6919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JGPnd0jJoqABn9Slq0MRYLzHgnYiE2BA="
X-MimeOLE Produced By Microsoft MimeOLE V15.4.3538.513
In-Reply-To <e74e0ba8-8aa7-44fc-ae13-fc75e5a5111e@k40g2000yqf.googlegroups.com>
X-Newsreader Microsoft Windows Live Mail 15.4.3538.513
Importance Normal
Cancel-Lock sha1:14sY2DX7NKnhC/MJCSy3VNamvYk=
X-Priority 3
X-MSMail-Priority Normal
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2962

Show key headers only | View raw


May you need to set the application Run As Administrator.

Jamal

"wolverine"  wrote in message 
news:e74e0ba8-8aa7-44fc-ae13-fc75e5a5111e@k40g2000yqf.googlegroups.com...

Thanks, my mistake. I don't read the description of
EnumFontFamiliesExe very well :S
With a little change on EnumFontFamExProc is working fine.
Now, i have another problem try to installing a font with Windows 7.
When i try to copy the font to the folder font fails because the user
permissions.
The font is installed but not copied, there are some problem with
that? I can use the font in the applications but i don't see that font
in the control panel > fonts.
Regards.


On 15 feb, 15:24, "Uwe Heyer" <uwe.he...@aristik.de> wrote:
> 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