You're welcome. Hope it helps you.
>Thanks for the guidance, Tracy, that helps a lot!
>
>>We don't include the foxfont.fon in the project. We just install it on the pc when the app is installed (in the windows fonts directory depending on the os version) and set the font in the app using:
>>
>>Note: we allow the user to set the fontsize and it is saved in an ini file so the value being returned for glfontsize is 10, 14, or 17 in numeric format. The glfontname variable value is either 'foxfont' or 'foxfonten' in character format.
>>
>>
>>*---Set INI file names *TB 04/05/2000
>>inifile = 'PROFILER.INI'
>>wkinifile = LEFT(SYS(2019),RAT('\',SYS(2019)))+'WORKSTAT.INI'
>>
>>*---Set Font for Pro32 Version
>>
>>PUBLIC glFontName, glFontSize, glWidth, glHeight, glRow
>>
>>lPointSize = get_ini(wkinifile,'[Defaults]','FontSize')
>>
>>glRow = 0
>>
>>#IF 'VISUAL' $ UPPER(VERSION())
>> glRow = 1
>>#ENDIF
>>
>>DO CASE
>>CASE lPointSize = '14'
>> glFontName = 'FoxFonten'
>> glFontSize = 14
>> glWidth = 720
>> glHeight = 460
>>CASE lPointSize = '17'
>> glFontName = 'FoxFonten'
>> glFontSize = 17
>> glWidth = 885
>> glHeight = 625
>>OTHERWISE
>> lPointSize = '10'
>> glFontName = 'FoxFont'
>> glFontSize = 10
>> glWidth = 640
>> glHeight = 380
>>
>> #IF 'VISUAL' $ UPPER(VERSION())
>> glRow = 2
>> #ENDIF
>>ENDCASE
>>
>> With _Screen
>> .LockScreen=.T.
>> .fontname=glFontName
>> .fontsize=glFontSize
>> .fontbold=.f.
>> .BorderStyle=1
>> .WindowState=0
>> .Closable=.F. .ControlBox=.T.
>> .MaxButton=.F.
>> .MinButton=.T.
>> .Width = glWidth
>> .Height = glHeight
>> .MinWidth = glWidth
>> .MinHeight = glHeight
>> .Caption="Policy Profiler 32"
>> .autocenter=.F.
>> * Set VFP desktop top to half the difference between
>> * monitor resolution height and _vfp.height
>> _vfp.Top = (Sysmetric(2) - _vfp.Height)/2
>> _vfp.Left= (Sysmetric(1) - _vfp.width)/2
>> IF _vfp.Top>1
>> _vfp.Top=1
>> ENDIF
>> IF _vfp.Height<(Sysmetric(2)-4)
>> _vfp.Top=_vfp.Top+2
>> ENDIF
>> .LockScreen=.F.
>> .visible=.T.
>> Endwith
>>
>>
>>>Hi Tracy,
>>>
>>>I tried including Foxfont.fon in the project. The exe displays in foxfon in the dev environment but not when invoked externally. What am I doing wrong?
>>>
>>>
>>>>Yes, we distribute foxfont with our VFP apps to display some older screens that have been redone as forms yet...it is done by the installer.
>>>>
>>>>Tracy
>>>>
>>>>>A followup to my question.. Is it possible to use and distribute Foxfont with my application?
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>Can anyone suggest a font that comes standard with Windows that would display French specific characters?
>>>>>>
>>>>>>TIA
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"