AVAX-software.com Forums: Need Help With fonts - AVAX-software.com Forums

Jump to content

Page 1 of 1

Need Help With fonts

#1 User is offline   MUZAK Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 27
  • Joined: 04-December 07

Posted 11 March 2008 - 06:05 AM

All fonts appear the same on screen....

tried this:
Call cAvax1.SetFontName(7, "Technical")
Call cAvax1.Add_Text("my Text",0, 0, 0, , 5, 7)

and:

For y = 1 To 255
Call cAvax1.Add_Text(Str$(y), 0, y, 0, , 5, CInt(y))
Next y


all attempts yield the same output on screen.

Using activeX on form in MSAccess VBA...

Any thoughts?

#2 User is offline   MUZAK Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 27
  • Joined: 04-December 07

Posted 11 March 2008 - 06:48 AM

Got font file to load....

Dim sFontFile As String
sFontFile ="c:\myFonts.fnt"
MsgBox cAvax1.LoadFonts(sFontFile), vbInformation, "LoadFonts"

That worked...

Shouldn't SetFontName do the same thing?

#3 User is offline   MUZAK Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 27
  • Joined: 04-December 07

Posted 11 March 2008 - 07:14 AM

ShapeText doesn't seem to pick up font file.....

#4 User is offline   Athanasios Gardos Icon

  • Administrator
  • Icon
  • Group: Admin
  • Posts: 333
  • Joined: 21-March 05
  • Gender:Male

Posted 13 March 2008 - 08:49 AM

We have also noticed that ShapeText doesn't pick up the font and we have fixed it for the next version.
To avoid the bug you can use the default font (ex. cAvax1.FontName = "Times New Roman") before ShapeText function.
Function SetFontName seems to work. Can you please check font "Technical"? Maybe the problem is in that font.
Athanasios Gardos
Avax-Software.com

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users