> > I've updated from FLTK 1.1.10 to 1.3.0rc3 on my Vista Laptop.
> >
> > Everything seems OK rebuilding my old projects in 1.3, but I started
> > to modify one of them and found that the fluid code editor text was
> > often almost unreadable. Sometimes only the Comment font is odd,
> > sometimes all of it.
> >
> > Anyone any ideas what might be happening here?
> 
> The FLUID 1.1 uses ASCII, FLUID 1.3 UTF8 and when 1.3 reads 
> files from 
> 1.1 and there are special characters, the text is broken at 
> this places.
> You should write a litte program, that reads ASCII texts and changes 
> them to UTF8 - FLTK 1.3 provides some UTF8 funktions like 
> fl_utf8froma() to do so. After that the editor text should be fine.


I don't think Brian's problem is anything to do with UTF8 though.
>From speaking to him, I have the impression that the effect is more odd
than that.

If I understand it (Brian, correct me where I'm wrong...)

- We are talking about the rendering of code inserts in the fluid text
editor view
- The files being processed are "plain" ASCII
- They work fine in fluid from 1.1.10
- They usually display in a really nasty font in fluid from 1.3
- But *sometimes* they display just fine and *sometimes* they are partly
good, partly fine (i.e. the comments are bad but the program text is
OK...)

So, what does this tell us? I'm not sure, but I think this is some
problem with the way that we are selecting or enumerating the fonts, or
the way Vista is returning fonts, or something.

There is perhaps even the suggestion that what programs Brian used
*before starting fluid* seem to effect how the text is displayed - again
suggesting to me that it is a problem with how the fonts are selected,
and that somehow this depends on what fonts other app's may have loaded,
or something.

So, anyway, it's weird, and I can't reproduce it at all. But the problem
does exist...

A potential solution would be that fluid be extended to allow the user
to set the editor font manually, rather than depending on the "built in"
fonts that fltk selects.

That would actually be a win generally since it would also allow me to
set a different font on my ubuntu laptop with its high-res screen, where
everything gets rendered so tiny I can't actually read it anyway...


SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to