Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

Re: Install problems 12 years 4 months ago #1457

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Hi everybody!
I'm not sure whether this is the right topic, but I want to say about installation of CT 2.3 under xUbuntu 11.10.
I've installed xUbuntu just yesterday, so I consider, that my system's clean by ll means :)
First I've installed system librares (option 1), then install CT (option0, then option 8).
But when I tried to run Lazarus, I've got that error about fpc.cfg I've asked before .
So I just launched install.sh again and voila - it works!
Since I have a fresh system, I'm pretty sure that there was NO any previous fpc or lazarus or whatever IDE (yes, I haven't even gcc and "make" is the only available compiler). And thus I believe there's something in the installation routine. I mean, WHY at first time it's NOT installed and then, having delete fpc.cfg it IS. :unsure:
I haven't checked whether there's fpc.cfg in etc folder before installation, but I'm 100% sure that there was NO fpc.

Could you check this, please?

And the second "issue":
Under the same xUbuntu 11.10 lazarus run well and my favorite GLScene compiles and works great too. But, in the CTC 2.3 in the Libraries tab there's "Not found!" next to EVERY library in the list. And still it works as I said. Guess, xUbuntu uses another libraries (if You need it, I could provide the list of libraries that really have been istalled by the option 0 of install.sh)

Regards! :)
コンソールマニアック

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 4 months ago #1458

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
a)Sir, we will check your fpc.cfg report
we must change file permition (I think)
or to move fpc.cfg to fpc folder from /etc/ folder, we will see...

b)Ubuntu use customize system libraries...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Re: Install problems 12 years 4 months ago #1463

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
As for ubuntu librares - I know it, thanks to your earlier explanation of this matter.
But the libraries list is OK under ubuntu, and shows "not found" under xubuntu. That's not an error by any means, but it could be confusing.
For example, I've some problem and want to report it (or get help with it). And if you ask me to check whether the system libraries installed - I'll tel you "yes, 100%". And we'll move further.
But considering libraries tab information - I have none of the sys libraries installed.
CT is a great project, and I'm glad it continues to grow, so I just suppose that it'll do good, if that list will show proper libraries for each system.

Ok, and now for real annoying thing.
I have tried to change my project (which was started under ubuntu 10.10) under xubuntu 11.10 and there's some weird thing I had ran into. In the Object Inspector (OI) window all typed keys are repeated. I mean, if I type "10" I get "1100". And if now I try to delete the last character and will press backspace - I'll get "11".
It's not as if OI window has some different keyboard settings (I mean pause time and autorepeat), it's just duplicate all I type. I thought, that's GTK error, but other GTK windows are OK - there's no problem in the Code Editor window, for example. And when I press Enter this strange effect of duplicating vanishes. But only for as long, as chosen control is focused. Should it lost focus and then become focused again - that strange effect takes it's place again. Until I press enter.

Anybody got any ideas? :unsure:
コンソールマニアック

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 3 months ago #1473

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Hello there!.. Again ;)
I've come because of GLScene again...
What I'm seeking is a way I could add and see any russian font symbols in TGLBitmapFont component.
Well, that's not for russian only, but for ANY symbol beyond #128, e.g. national characters.
Could someone try to use symbols BEYOND #128? That could really help a lot!
コンソールマニアック

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 3 months ago #1484

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Hi 4aiman,

I will try to do it with Greek fonts if that's ok with you. But i will do it during this weekend.

Kostas

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 3 months ago #1539

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Hi, papadouk,
have you tried greek fonts?
コンソールマニアック

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 3 months ago #1540

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Hi 4aiman,

I have tried Greek fonts and worked ALMOST as expected because i could not find a .BMP file with the Greek Letters perfectly aligned
I had a problem setting the Greek characters range in the Properties Editor of the BitmapFont component and i bypassed it by MANUALLY
setting the range from 'Α' to 'Ω' in the code like this:
  BitmapFont1.Ranges[0].StartASCII := 'Α';
  BitmapFont1.Ranges[0].StopASCII := 'Ω';
  BitmapFont1.Glyphs.LoadFromFile('GrAlpha.bmp');
  HUDText1.Text := 'ΚΑΛΗΜΕΡΑ';

...and the final result is:


Attachments:

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 2 months ago #1606

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
I've done the same thing and still it's ??? instead russian symbols...
Please, could you send me your 'GrAlpha.bmp' file?
Or better the whole project? Thanks in advance!


Oh, and what version of CT did you use?
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Re: Install problems 12 years 2 months ago #1613

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
My CT version is 2.40.

I have attached the project for you 4aiman :). Inside the .zip file you will find the bitmap and th efinal executable compressed
using 7Zip.

Let's see the results on your computer
Attachments:

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 2 months ago #1618

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Thanks, papadouk!
I think I finally got what's wrong, but I did not know how to fix it...
My locale is set to utf-8...
And this what I have in your project ():
BitmapFont1.Ranges[0].StartASCII := 'Á'; BitmapFont1.Ranges[0].StopASCII := 'Ù'; 
...
HUDText1.Text := 'ÊÁËÇÌÅÑÁ';
So, what codepage did you use for your project?
Before you've posted your example I tried to use ANSI codes (#32 and #255) as start and end values for ranges[0]. (Yes, I'm too did it manually;) )

Here's the picture of what I still have:
Warning: Spoiler!

(There should be "New Game Новая Игра" instead of "New Game ????? ????":( )

Here's my font (w:12, h:20):
Warning: Spoiler!


PS: I've installed CT 2.4 but it's the same...
I'm loading text from external files (and they're in ANSI codepage), maybe It has smth with it?
And your project works, but there's abrakadabra in the start and stop characters and in the hudtext, as you can see...
コンソールマニアック
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Re: Install problems 12 years 2 months ago #1643

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Hi 4aiman,

sorry for my delayed answer :)
I am using WINDOWS-1253 as my codepage. My native language is Greek.

In order to succes with the bitmap font you have to know the ASCII code of the actuall letters of your language. Since
i do not know these values for Greek, i inserted the Greek Letters of 'Α' and 'Ω' directly to the code as ASCII chars in
order to be converted to the appropriate ASCII value. BUT as you have noticed on my Greek letters bitmap there are NO other
symbols than Greek. In your bitmap there are also English characters. I need to find some time to do a test with a bitmap
that will also have English chars along the Greek too

Please Log in or Create an account to join the conversation.

Re: Install problems 12 years 2 months ago #1654

  • 4aiman
  • 4aiman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Hi, papadouk, greek font is in the same area as russian. Well, the russian "А" is $c0 and greek Alpha is $c1, but that's not the case. I'm writing this 'cause you could change letters for greek ones in my font picture (there's no need to draw beautiful ones but enough "for a test" ones will do). If you're in lack of a time , I could do it ;)

PS: I had wrote another message some days ago, but there's no trace of it now...
I do not know what happens, but It's not the first time when my message disappears...
If anyone had deleted it, then, please, notify me about the thing and reason, because it's quite frustrating...
コンソールマニアック

Please Log in or Create an account to join the conversation.

  • Page:
  • 1