[fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Brian Tilley
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


I'll upload a copy of the fluid file (Word_Finder.fl) for you to play with.

Once loaded into fluid, in the Word Finder window, select and open the
Option-Target MenuItem properties box. Then click on c++ and you should
see the mangled font. (Not Courier ?).

Close that and open the Code Properties for the Initialise code. also has
the mangled font.

Close fluid entirely, then reopen the file in a new fluid session.
This time open the Initialise Code first. Font looks good this time.
Close that and reopen the MenuItem properties as before.
Now the font is OK here as well ???

Over to you


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

Word_Finder.fl
Description: Binary data
___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Brian Tilley

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


As mentioned in my fltk.general posts, this is the same in Windows XP and
Vista. Although on Vista I sometimes get a font that is almost unreadable.


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Ian MacArthur

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


Brian,

On an extensive sample of 1 XP box, I could not reproduce this fault.

Will try a few others, time permitting.

I do think it would be nice to make that font user-settable though, which
may alleviate this problem anyway?


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


I can replicate. WinXP + VS7 build of FLTK 1.3.x r8364 (current).
See attached screenshot erco-fluid-screenshot-1.1.9-vs-1.3.x.png

Not sure what Brian sees.. can you send a screenshot if not similar?

In my case it looks like the courier 'fixed width' font
is being displayed with a strange proportional pitch, causing the
letters to horizontally either crash into each other or be spaced
too far apart.


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0attachment: erco-fluid-screenshot-1.1.9-vs-1.3.x.png___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Ian MacArthur

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


Just tried this on this Vista box, and I'm still NFF.

Though I see Greg's screenshot - that does look nasty. I wonder if it is
maybe doing something odd with the text handling (e.g. harking back to
Edzard's question about UTF8) or if it is just some fonts weirdness...


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Ian MacArthur

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


Oops! Now this is interesting:

If I open the sample file in fluid, then use the widget tree to open the
Target MenuItem (i.e. expand the entry for submenu wf_options then click
on the Target entry, all is well and the fonts look correct.
And are correct in all views thereafter.

This is always the method I use to edit my widgets.

However, if the first widget I open is reached by instead clicking on the
widget itself in the layout, then I get the bad font after all (and in any
edit view thereafter.)

So it would appear that where the edit view is invoked from makes a
difference to how it renders its text.
This seems very odd... Suggestions welcome!


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Greg Ercolano

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


Ian: Interesting. Yes, I've been opening the C++ window as per Brian's
instructions, clicking on the 'Options' menu in his app, and picking the
item in the menu to open the properies. 

In all my tests I haven't been opening them from the fluid widget tree
browser.

It's interesting that it matters which technique you use to open the
properties editor.

FWIW, was also able to replicate my previous results on Vista and Win7
(different hardware) building with a different compiler (VS2005 Express),
so it seems the OS doesn't matter.


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Brian Tilley

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


Yes Erco that's exactly what I see.
Although sometimes only the Comments are odd !


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Greg Ercolano

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0


Do you also find that if you quit fluid, and re-run it, but instead go into
the properties via the fluid widget browser (eg. double clicking on the
'target' item from there instead of the interface), that then the C++ code
editor looks right?

And from that point on, it seems to me, you can then even click on it from
the interface and it still looks right.

But if you open fluid and go directly to the Options-Target from your
interface layout, that's when the code editor looks wrong, and in fact all
the courier based input fields look wrong.


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Manolo Gouy

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0
Fix Version: 1.3.0 (r8365)


Fixed in Subversion repository.

Text width was computed using a NULL gc. This produced 
erratic character widths.


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0
Fix Version: 1.3.0 (r8365)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Manolo Gouy

[STR Closed w/Resolution]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0
Fix Version: 1.3.0 (r8365)


Closed.


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0
Fix Version: 1.3.0 (r8365)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [MOD] STR #2553: Font Problems in fluid Code Editor.

2011-02-03 Thread Greg Ercolano

[STR Closed w/Resolution]

Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0
Fix Version: 1.3.0 (r8365)


Yep, that seemed to fix it.
Thanks, Manolo!! Amazing you found that so quickly!


Link: http://www.fltk.org/str.php?L2553
Version: 1.3.0
Fix Version: 1.3.0 (r8365)

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs