Search found 17 matches
- Thu Oct 30, 2008 12:08 pm
- Forum: Project Announcements
- Topic: The Wall Street Money Machine
- Replies: 4
- Views: 1292
- Thu Oct 30, 2008 9:33 am
- Forum: Project Announcements
- Topic: The Wall Street Money Machine
- Replies: 4
- Views: 1292
The Wall Street Money Machine
I thought I'd post some details on a project that I've working on for a while, now that it's starting to take shape. Before I show a very dull screenshot, I thought I'd explain what it is that I'm trying to do. For a while now I've been watching the economic crisis in the US (and elsewhere) unfold. ...
- Mon Oct 27, 2008 5:03 am
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032
- Sat Oct 25, 2008 12:02 pm
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032
A tangential finding was that, if Xft-powered anti-aliasing is on when you create a font, you have to enable alpha on the font, otherwise the bit-mapping occludes the semi-transparent pixels wholly and the font looks horrible in irrlicht. The same thing happens to fonts rendered in the Windows vers...
- Sat Oct 25, 2008 10:15 am
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032
It appears that the anti-alias settings are system wide and cannot be overridden on a per-application basis. It turned on automatically on my system because I'm using an LCD monitor connected via DVI. Remember that all changes to /etc/fonts/local.conf are system wide and will be overridden by ~/.fon...
- Sat Oct 25, 2008 6:58 am
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032
I recreated the patch and checked it against a fresh copy of the repo, so hopefully this one is OK. Xft is a layer on top of FreeType2 that provides the ability to use anti-aliasing which FreeType2 can't do. So something in the OS is controlling the anti-aliasing. I'll try playing with the font rend...
- Sat Oct 25, 2008 1:27 am
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032
For anyone trying this out, please note that it seems that anti-aliasing can't be turned off even if the checkbox is not checked. On my system at least, Xft, which is used to render the fonts, ignores the anti-alias option when selecting a font and defaults it to true. Freetype2 is another font rend...
- Sat Oct 25, 2008 1:08 am
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032
I've installed the ms fonts, but I can't reproduce the problem. Maybe I've got a different version of the fonts than you? I'm running Ubuntu 8.10. My version of Arial has 1187 characters according to the output from FontTool. Anyway, I've made two changes to the code. First, I've changed the check f...
- Fri Oct 24, 2008 1:49 pm
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032
Thanks for the feedback! I suspect it's a feature of that particular font since I found a few of my fonts had zero width and zero height characters. I'm using the xOff of the character to work out it's width (line 525) - this is the distance from the left edge of the character to the left edge of th...
- Wed Oct 22, 2008 9:17 am
- Forum: Bug reports
- Topic: [fixed]XML reader can't read files produced by XML writer
- Replies: 24
- Views: 5120
- Wed Oct 22, 2008 4:58 am
- Forum: Bug reports
- Topic: [fixed]XML reader can't read files produced by XML writer
- Replies: 24
- Views: 5120
I mistyped the value of data32[0] in my previous post, it's actually 0x3C0000FFFE. char32 is defined as an unsigned long, which is eight bytes on my 64 bit system. That explains why this isn't working, because it's comparing the first 8 bytes of the file against a four byte value. The following code...
- Wed Oct 22, 2008 12:19 am
- Forum: Bug reports
- Topic: [fixed]XML reader can't read files produced by XML writer
- Replies: 24
- Views: 5120
I'm running 1.4.2 I've tracked the problem down. It starts at line 573 of CXMLReaderImpl.h: char32* data32 = reinterpret_cast<char32*>(data8); Then, the following is defined a little further on: const int UTF32_BE = 0xFFFE0000; const int UTF32_LE = 0x0000FEFF; Two if statements are used to determine...
- Tue Oct 21, 2008 4:31 pm
- Forum: Bug reports
- Topic: [fixed]XML reader can't read files produced by XML writer
- Replies: 24
- Views: 5120
The problem is happening inside the read method of IXMLReader. If I give it a four byte per char file (created by Font Tool), that function will fail. If I strip the extra 2 bytes out of each char in the XML file, then read will work. I've also noticed that Text Editor (Ubuntu's Wordpad equivalent) ...
- Tue Oct 21, 2008 12:20 pm
- Forum: Bug reports
- Topic: [fixed]XML reader can't read files produced by XML writer
- Replies: 24
- Views: 5120
Re: XML reader can't read files produced by XML writer
Great info, thanks for that.rogerborg wrote:-fshort-wchar should force it to be 16 bits.
I've logged it as a bug:
https://sourceforge.net/tracker2/?func= ... tid=540676
- Tue Oct 21, 2008 12:04 pm
- Forum: Project Announcements
- Topic: IrrFontTool Linux implementation
- Replies: 14
- Views: 2032