Re: Default Fonts For Object



Title: Email Rider
I cannot remember if I installed another version of Dia on my Window 7 box; I doubt it though as I just built this machine a few months ago and only would have installed a second time if there has been an uptick in the released software.  I had installed Dia on a previous WIndows XP box, and I have staged all my files on an E: drive for migration and reference.  I doubt Dia found any old configuration settings on the E: drive as they are buried within a vary large tree.  I also think what I am experiencing is a result of something I did after the installation, for it the problem had manifested itself at the outset, I would have posted sooner to this list.

I apologize for the double posting -- when I first signed up to this group, I tried using a modified gmail + qualified email address and then realized when I posted my question, my standard email was used in my message so the server might not recognize me.  I received a reply from the list manager:

   subject: Your message to dia-list awaits moderator approval
   The reason it is being held:

    Post by non-member to a members-only list
I then altered my registration to my standard email so when I sent something it would match what I have on file with the mail list server and reposted my issue so this error message would not occur.

I spent several hours following the suggestions and trying various alternative and finally discovered I had set up a C:\Home directory and there was a .dia directory that when renamed, caused my session to start up without any error messages and the fonts working properly.  Clearly, I had altered some configuration setting that was affecting Dia's startup.

The lesson learned here is that if you are having problems in Windows, make sure to check your Home directory, too, if you have tainted your environment with something such as HOME=C:\Home.  When I renamed my C:\Home\.dia file, the problem went away.

Also, my configuration file for the problem session, defaults.dia, had this:

    <?xml version="1.0" encoding="UTF-8"?>
    <dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
      <dia:layer name="Flowchart" visible="false">
        <dia:object type="Flowchart - Magnetic Disk" version="1" id="O0">
          <dia:attribute name="obj_pos">
            <dia:point val="0,0"/>
          </dia:attribute>
          <dia:attribute name="obj_bb">
            <dia:rectangle val="-0.05,-0.05;2.05,2.25"/>
          </dia:attribute>
          <dia:attribute name="meta">
            <dia:composite type="dict"/>
          </dia:attribute>
          <dia:attribute name="elem_corner">
            <dia:point val="0,0"/>
          </dia:attribute>
          <dia:attribute name="elem_width">
            <dia:real val="2"/>
          </dia:attribute>
          <dia:attribute name="elem_height">
            <dia:real val="2.2000000000000006"/>
          </dia:attribute>
          <dia:attribute name="line_width">
            <dia:real val="0.10000000000000001"/>
          </dia:attribute>
          <dia:attribute name="line_colour">
            <dia:color val="#000000"/>
          </dia:attribute>
          <dia:attribute name="fill_colour">
            <dia:color val="#ffffff"/>
          </dia:attribute>
          <dia:attribute name="show_background">
            <dia:boolean val="true"/>
          </dia:attribute>
          <dia:attribute name="line_style">
            <dia:enum val="0"/>
            <dia:real val="1"/>
          </dia:attribute>
          <dia:attribute name="padding">
            <dia:real val="0.10000000000000001"/>
          </dia:attribute>
          <dia:attribute name="text">
            <dia:composite type="text">
              <dia:attribute name="string">
                <dia:string>##</dia:string>
              </dia:attribute>
              <dia:attribute name="font">
                <dia:font family="sans" style="0" name="Helvetica"/>
              </dia:attribute>
              <dia:attribute name="height">
                <dia:real val="0.80000000000000004"/>
              </dia:attribute>
              <dia:attribute name="pos">
                <dia:point val="1,1.48333"/>
              </dia:attribute>
              <dia:attribute name="color">
                <dia:color val="#000000"/>
              </dia:attribute>
              <dia:attribute name="alignment">
                <dia:enum val="1"/>
              </dia:attribute>
            </dia:composite>
          </dia:attribute>
          <dia:attribute name="flip_horizontal">
            <dia:boolean val="false"/>
          </dia:attribute>
          <dia:attribute name="flip_vertical">
            <dia:boolean val="false"/>
          </dia:attribute>
          <dia:attribute name="subscale">
            <dia:real val="1"/>
          </dia:attribute>
        </dia:object>
        <dia:object type="Flowchart - Box" version="0" id="O2">
          <dia:attribute name="obj_pos">
            <dia:point val="0,3.3"/>
          </dia:attribute>
          <dia:attribute name="obj_bb">
            <dia:rectangle val="-0.05,3.25;2.05,5.25"/>
          </dia:attribute>
          <dia:attribute name="elem_corner">
            <dia:point val="0,3.3"/>
          </dia:attribute>
          <dia:attribute name="elem_width">
            <dia:real val="2"/>
          </dia:attribute>
          <dia:attribute name="elem_height">
            <dia:real val="1.9000000000000001"/>
          </dia:attribute>
          <dia:attribute name="show_background">
            <dia:boolean val="true"/>
          </dia:attribute>
          <dia:attribute name="padding">
            <dia:real val="0.5"/>
          </dia:attribute>
          <dia:attribute name="text">
            <dia:composite type="text">
              <dia:attribute name="string">
                <dia:string>##</dia:string>
              </dia:attribute>
              <dia:attribute name="font">
                <dia:font family="Arial" style="0" name="Helvetica"/>
              </dia:attribute>
              <dia:attribute name="height">
                <dia:real val="0.80000000000000004"/>
              </dia:attribute>
              <dia:attribute name="pos">
                <dia:point val="1,4.43"/>
              </dia:attribute>
              <dia:attribute name="color">
                <dia:color val="#000000"/>
              </dia:attribute>
              <dia:attribute name="alignment">
                <dia:enum val="1"/>
              </dia:attribute>
            </dia:composite>
          </dia:attribute>
        </dia:object>
      </dia:layer>
      <dia:layer name="Standard" visible="false">
        <dia:object type="Standard - Text" version="1" id="O1">
          <dia:attribute name="obj_pos">
            <dia:point val="0,0"/>
          </dia:attribute>
          <dia:attribute name="obj_bb">
            <dia:rectangle val="0,-0.035;0,0"/>
          </dia:attribute>
          <dia:attribute name="text">
            <dia:composite type="text">
              <dia:attribute name="string">
                <dia:string>##</dia:string>
              </dia:attribute>
              <dia:attribute name="font">
                <dia:font family="sans" style="0" name="Helvetica"/>
              </dia:attribute>
              <dia:attribute name="height">
                <dia:real val="0.80000000000000004"/>
              </dia:attribute>
              <dia:attribute name="pos">
                <dia:point val="0,0"/>
              </dia:attribute>
              <dia:attribute name="color">
                <dia:color val="#000000"/>
              </dia:attribute>
              <dia:attribute name="alignment">
                <dia:enum val="0"/>
              </dia:attribute>
            </dia:composite>
          </dia:attribute>
          <dia:attribute name="valign">
            <dia:enum val="3"/>
          </dia:attribute>
        </dia:object>
      </dia:layer>
    </dia:diagram>

The fresh install configuration has this:
   <?xml version="1.0" encoding="UTF-8"?>
   <dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/"/>

My system does not have Helvetica installed, so the specification of Helvetica above is probably what was corrupting my objects and the font renderer used the placeholder glyph, a bar or rectangular box, in substitution.  In my experimenting with shapes, I must have imported something or done something to change the default specification to Helvetica causing all objects taking the properties from the default to inherit this value.



On 1/21/2012 4:00 AM, dia-list-request gnome org wrote:
I have installed diaw.exe 0.97.2 on Windows7 about a month ago.
Have you had installed any other versions of Dia on this system previously?

> My problem is: the default font for the objects is something abnormal,
> the name of the font consists of rectangles indicating characters not
> recognized on my system.  When I try to enter text, all I get are place-
> holders for character, nothing that can be read.
Try to launch Dia from a newly-created Windows user account and see if issue
persists.

P.S.
And don't multipost, please.
You may resend _the same_ message, if you suspect it not being delivered, so
that if both copies actually received, they can be easily cleared through
duplicate checking.


--
WBR,
Andrey Repin (anrdaemon freemail ru) 21.01.2012, <03:08>

Sorry for my terrible english...

--

John Laurence Poole
P.O. Box 6566
Napa CA 94581-6566
707-812-1323 office

Attachment: jlpoole56.vcf
Description: Vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]