Reenen Laurie | 1 Jul 22:26
Picon

Git for components?

Hi All, (especially Greame)

I've installed a git version of Lazarus, but now I'd like to know how
can I add my 2 most used components... GLScene and lNet to my lazarus?

Do I continue using svn for them?  Or are they also somewhere included in git?

Regards,
-Reenen

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Robin Hoo | 2 Jul 06:20
Picon

How to use external true type font in WinCE

Hi, All

I'm quite new to Lazarus and GUI programming. Now I have a problem in using the external true type font in my form as the font of Tlabel. I tried to use addfontresource to laod it and the new font can be enum by API. But when I set the label font name as the external font face name, the font will not display as the font coming with the WinCe OS. I'm not sure if anyone can help me on this issue, and some sample code would be great. Thanks in advance.

Best Regards
Robin Hoo

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Graeme Geldenhuys | 2 Jul 08:17
Gravatar

Re: Git for components?

Reenen Laurie wrote:
> 
> Do I continue using svn for them?  Or are they also somewhere included in git?

Are those components in the normal Lazarus SVN repository (Trunk)? If so,
then they will be available in the Git mirror. If they are hosted on some
other SubVersion repository like CCR, then no they will not be available
in the Git repository. I only mirror the Trunk subversion repository of
Lazarus.

Regards,
  - Graeme -

--

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Alexander Klenin | 2 Jul 11:49
Picon

Re: Git for components?

On Thu, Jul 2, 2009 at 17:17, Graeme
Geldenhuys<graemeg <at> opensoft.homeip.net> wrote:
> Reenen Laurie wrote:
>>
>> Do I continue using svn for them?  Or are they also somewhere included in git?
>
> Are those components in the normal Lazarus SVN repository (Trunk)? If so,
> then they will be available in the Git mirror.

See also: http://www.kernel.org/pub/software/scm/git/docs/git-svn.html

--

-- 
Alexander S. Klenin

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Favicon

Renaming a form jumps to project source

Hi,

Since quite some time, when the form in the designer is renamed, the code window jumps to the project source.
Why is this ? This was not so in older versions of Lazarus, and it's rather annoying. 
Can this be undone ?

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Lee Jenkins | 3 Jul 17:15

Re: Renaming a form jumps to project source

Michael Van Canneyt wrote:
> Hi,
> 
> Since quite some time, when the form in the designer is renamed, the 
> code window jumps to the project source.
> Why is this ? This was not so in older versions of Lazarus, and it's 
> rather annoying. Can this be undone ?
> 

+1

--
Warm Regards,

Lee

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Graeme Geldenhuys | 7 Jul 14:33
Gravatar

Font sizes on various platforms

Hello,

Could anybody help me with the following font problems please...

DPI Differences
===============
As far as I know this is the following default DPI settings on various 
platforms.

  - 75 dpi for Mac OS
  - 96 dpi for MS Windows
  - auto detect or 110 dpi for X11, though I have seem many
    applications an distros force a 96 dpi setting like Windows.

Now as far as I know this makes fonts look difference in size for the 
same font height. Is this only true when the font size is defined as 
pixel heigh, or does it also apply when font sizes are defined in points 
height as well?

Some Examples
=============
 From my own experience, this is what I have found. Under Windows, the 
default system font size is 8 points (not 100% sure if this is points or 
pixels, but I believe it's points?). To get the same look (font height) 
under Linux, I need to set my X11 applications to use 10 points size 
fonts. Strangely enough, that is also the case even if I force my X11 to 
use 96 dpi like Windows. Why is that?

Now under Mac OS X (I just read this in the Mac HIG document), the 
standard (normal size) font is Lucida Grande Normal and is set to 13 
points. Judging by 1:1 ratio screenshots, those fonts appear the same 
size as my X11 applications (under Linux) set to 11 points font size.

Questions
=========

- So why is there a difference in size between all the platforms?

- I first thought it was dpi related, but setting Linux to run at 96 dpi 
and Windows to 96 dpi there is still a size difference. Windows 8 point 
= Linux 10 point. Why?

- If I create a cross-platform application that uses a non-default font 
(not like what Lazarus LCL does by default), how am I supposed to set 
the font size, so the UI text looks consistent in size no matter the 
platform?

Regards,
   - Graeme -

--

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Geoff Bagley | 7 Jul 15:19

Re: Font sizes on various platforms

Since the printer output of Linux is often in Postscript format,  and 
postscript  uses 72 dpi,  72 dpi would also be nice to have !

Best regards,

Geoff

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Graeme Geldenhuys | 7 Jul 15:22
Gravatar

Re: Font sizes on various platforms

Geoff Bagley wrote:
> Since the printer output of Linux is often in Postscript format,  and 
> postscript  uses 72 dpi,  72 dpi would also be nice to have !

Well under Linux with X11 you can force whatever dpi you wish. Here is 
an example where I force 100 dpi for X11.

$ startx -- -dpi 100

Regards,
   - Graeme -

--

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Graeme Geldenhuys | 7 Jul 15:29
Gravatar

Re: Font sizes on various platforms

Graeme Geldenhuys wrote:
> 
> - I first thought it was dpi related, but setting Linux to run at 96 dpi 
> and Windows to 96 dpi there is still a size difference. Windows 8 point 
> = Linux 10 point. Why?

And here is the exact same issue shown using a web page with CSS.

   http://jongrieve.net/faq/dcss/

So the issue is wide spread, but still I don't know why. Also does that 
mean I need to apply the same font size hack as the guy in the CSS article.

eg:
   ifdef MacOS
      NormalFontSize = 13
   elseif Windows
      NormalFontSize = 8
   elseif Linux
      NormalFontSize = 10
   else
      NormalFontSize = 8  // ??? What would be correct as a default?

   Label.Font.Size = NormalFontSize;

Yuck!!!!  Imagine that all over your code?  Is the ifdef part could be 
done in some Constants.pas unit and used globally in your application, 
but still it feels like a hack. Not to mention it makes GUI design a lot 
more difficult if the same form is edited on various platforms.

Regards,
   - Graeme -

--

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Gmane