PtLabel problem/bug?

Hi.

Set a PtLabel in Phab with the following:

Pt_ARG_TEXT_STRING - Low
Pt_ARG_HORIZONTAL_ALIGNMENT - Pt_RIGHT
Pt_ARG_FLAGS - Pt_SET | Pt_HIGHLIGHTED

The word ‘Low’ has part of the ‘w’ missing over on the right side.

Is this a bug? Or did I do something wrong?

Thanks

Augie

Augie Henriques wrote:

Hi.

Set a PtLabel in Phab with the following:

Pt_ARG_TEXT_STRING - Low
Pt_ARG_HORIZONTAL_ALIGNMENT - Pt_RIGHT
Pt_ARG_FLAGS - Pt_SET | Pt_HIGHLIGHTED

The word ‘Low’ has part of the ‘w’ missing over on the right side.

Is this a bug? Or did I do something wrong?

Thanks

Augie

Did you try changing Pt_ARG_TEXT_FONT? ( size)

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com

“WeiBing Tong” <wbtong@aquilamsl.com> wrote in message
news:3AC2420B.1239FB05@aquilamsl.com

Augie Henriques wrote:

Hi.

Set a PtLabel in Phab with the following:

Pt_ARG_TEXT_STRING - Low
Pt_ARG_HORIZONTAL_ALIGNMENT - Pt_RIGHT
Pt_ARG_FLAGS - Pt_SET | Pt_HIGHLIGHTED

The word ‘Low’ has part of the ‘w’ missing over on the right side.

Is this a bug? Or did I do something wrong?

Thanks

Augie

Did you try changing Pt_ARG_TEXT_FONT? ( size)

I use the default (helvetica 12). I noticed that for some other sizes this
did not seem to be as bad.

I really don’t want to change my font. I have been using this font for all
the widgets in my apps.

Is there a fix for this?

TIA

Augie

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com

Augie Henriques wrote:

“WeiBing Tong” <> wbtong@aquilamsl.com> > wrote in message
news:> 3AC2420B.1239FB05@aquilamsl.com> …
Augie Henriques wrote:

Hi.

Set a PtLabel in Phab with the following:

Pt_ARG_TEXT_STRING - Low
Pt_ARG_HORIZONTAL_ALIGNMENT - Pt_RIGHT
Pt_ARG_FLAGS - Pt_SET | Pt_HIGHLIGHTED

The word ‘Low’ has part of the ‘w’ missing over on the right side.

Is this a bug? Or did I do something wrong?

Thanks

Augie

Did you try changing Pt_ARG_TEXT_FONT? ( size)

I use the default (helvetica 12). I noticed that for some other sizes this
did not seem to be as bad.

I really don’t want to change my font. I have been using this font for all
the widgets in my apps.

Is there a fix for this?

Thus you MAY need to adjust the size of PtLabel widget. Just for your
reference, when you use a text widget, if you not set a proper size of font,
the text will be never displayed correctly.

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com

“WeiBing Tong” <wbtong@aquilamsl.com> wrote in message
news:3AC252AD.26B6D2E1@aquilamsl.com

Augie Henriques wrote:

“WeiBing Tong” <> wbtong@aquilamsl.com> > wrote in message
news:> 3AC2420B.1239FB05@aquilamsl.com> …
Augie Henriques wrote:

Hi.

Set a PtLabel in Phab with the following:

Pt_ARG_TEXT_STRING - Low
Pt_ARG_HORIZONTAL_ALIGNMENT - Pt_RIGHT
Pt_ARG_FLAGS - Pt_SET | Pt_HIGHLIGHTED

The word ‘Low’ has part of the ‘w’ missing over on the right side.

Is this a bug? Or did I do something wrong?

Thanks

Augie

Did you try changing Pt_ARG_TEXT_FONT? ( size)

I use the default (helvetica 12). I noticed that for some other sizes
this
did not seem to be as bad.

I really don’t want to change my font. I have been using this font for
all
the widgets in my apps.

Is there a fix for this?

Thus you MAY need to adjust the size of PtLabel widget. Just for your
reference, when you use a text widget, if you not set a proper size of
font,
the text will be never displayed correctly.

Sorry, I don’t understand. Could you please explain?

I have been using PtText and PtLabel widgets for a long time and I have
never come across this. In fact the PtText widget doesn’t seem to have the
same problem as the PtLabel widget, for this example. I just didn’t want to
change all my PtLabel widgets into PtText widgets.

If I’m doing something wrong, then I would like to know?

TIA,

Augie

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com