Text spacing problem with SHX fonts

I'm trying to get the utilities, fonts, etc. that I use with Autocad to work in Bricscad 10.  Most fonts work correctly in Bricscad, but the custom font I use the most does not.  Using the Text command the first line goes in fine, but when I press enter to drop down to a new line the the text is displayed on top of the original line but shifted to the right.  It looks like the line feed character is being interpreted as a +X shift rather than a -Y shift.  The line feed character definition is:

*0A,5,lf
2,8,(0,-40),0

The font has worked perfectly in Autocad for several years.

Is there something specific that needs to be in the font's definition to make the font work in Bricscad?

 

Thanks,

Martin

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments

  • I think I found what is happening, but not why.  The style for this font is being set as VERTICAL.  The font header is

    *0,4,Enco Font 3
    26,8,0,0

    which indicates that the font is horizontal only.  I create the styles with

      (command "-style" "enco3" "enco3.shx" "" "" "" "" "")
      (command "-style" "romans" "romans.shx" "" "" "" "" "" "")

    In the style manager the style for enco3 has vertical checked but the style for romans does not.  The header for the romans font is

    *UNIFONT,6,ROMANS  Copyright © 1997 by Autodesk, Inc.
    21,7,2,0,0,0

    so the romans font has both horizontal and vertical.

     

     

This discussion has been closed.