wile64 пишет:
2007/10/26, Felipe Monteiro de Carvalho
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
I was taking a look at the TTrayIcon icon, and its barely visible
under Windows Vista.
Maybe a new TTrayIcon icon could be made =P please
thanks,
--
Felipe Monteiro de
Hello,
after considering everything I believe that we need a new property in
TCanvas. Custom controls that can't work with fractional positioning
would have to set the property to false after the canvas is created.
By default it would be true. Does that sound good? Should I do it?
I don't think
On Sun, 04 Nov 2007 10:03:07 +0100
Tobias Giesen [EMAIL PROTECTED] wrote:
Hello,
after considering everything I believe that we need a new property in
TCanvas. Custom controls that can't work with fractional positioning
would have to set the property to false after the canvas is created.
AFAIK other widgetsets have fractionals too and you don't need a
parameter.
OK then we'll call the new property
AllowCarbonFractionalPositioning
- either implement scale factors for TCanvas
- or add TextOut/TextExtent/... functions with floats to TCanvas.
Sounds like long-term solutions ...
On Sun, 04 Nov 2007 12:04:08 +0100
Tobias Giesen [EMAIL PROTECTED] wrote:
AFAIK other widgetsets have fractionals too and you don't need a
parameter.
OK then we'll call the new property
AllowCarbonFractionalPositioning
- either implement scale factors for TCanvas
- or add
On Sun, 4 Nov 2007, Tobias Giesen wrote:
AFAIK other widgetsets have fractionals too and you don't need a
parameter.
OK then we'll call the new property
AllowCarbonFractionalPositioning
- either implement scale factors for TCanvas
- or add TextOut/TextExtent/... functions with
On Sun, 4 Nov 2007 12:46:29 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Tobias Giesen wrote:
AFAIK other widgetsets have fractionals too and you don't need a
parameter.
OK then we'll call the new property
AllowCarbonFractionalPositioning
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On Sun, 4 Nov 2007 12:46:29 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Tobias Giesen wrote:
AFAIK other widgetsets have fractionals too and you don't need a
parameter.
OK then we'll call
On Sun, 4 Nov 2007 13:33:06 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On Sun, 4 Nov 2007 12:46:29 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Tobias Giesen wrote:
AFAIK
a new property could make everybody happy _today_.
And everybody unhappy in the future because it is very ad-hoc
Not necessarily. If we make it general and generally useful, it can be
quite a good thing. So I agree, the word Carbon should not appear in
the property name.
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On Sun, 4 Nov 2007 13:33:06 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On Sun, 4 Nov 2007 12:46:29 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007 14:27:55 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On Sun, 4 Nov 2007 13:33:06 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On
On Sun, 04 Nov 2007 14:17:07 +0100
Tobias Giesen [EMAIL PROTECTED] wrote:
a new property could make everybody happy _today_.
And everybody unhappy in the future because it is very ad-hoc
Not necessarily. If we make it general and generally useful, it can be
quite a good thing. So I agree,
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On Sun, 4 Nov 2007 14:27:55 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
On Sun, 4 Nov 2007, Mattias Gaertner wrote:
On Sun, 4 Nov 2007 13:33:06 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
Hello,
if we add the property to TCarbonDeviceContext, is that accessible from
a custom component in a reasonable way? Would Phil be willing to change
a property in TCarbonDeviceContext using the appropriate typecasts?
Fractional positioning should never be turned off globally for the
On Sun, 4 Nov 2007 15:09:45 +0100 (CET)
Michael Van Canneyt [EMAIL PROTECTED] wrote:
[...]
- either implement scale factors for TCanvas
- or add TextOut/TextExtent/... functions with floats
to TCanvas.
[...]
Depends on POV.
You need something like
Phil wrote:
There's probably quite a lot going on here. Tomas is actually passing
a total of 8 options, including options to turn off kerning, to use
rounded text metrics instead of fractional, and others, as well as
disabling fractional spacing in the rendering of the line.
Hi Phil,
could
On Sun, 04 Nov 2007 15:15:41 +0100
Tobias Giesen [EMAIL PROTECTED] wrote:
Hello,
if we add the property to TCarbonDeviceContext, is that accessible
from a custom component in a reasonable way? Would Phil be willing to
change a property in TCarbonDeviceContext using the appropriate
Daniel Rincón García wrote:
I am trying to execute the examples but I obtain the next errors:
http://i12.tinypic.com/526id0j.jpg
http://i15.tinypic.com/2lmrm9t.jpg http://i15.tinypic.com/2lmrm9t.jpg
http://i2.tinypic.com/536k4l5.jpg
http://i9.tinypic.com/6g8t7ur.jpg
What is the problem?
Yes, I translated to sqlite3ds. The sqliteminimal example works correctly
but the 3dcompare example do not works.
I did not change dumpdata.pas to use sqlite3ds.
How I do it?
Thanks.
This occurs when you try to open a non db file.
Do you translated to sqlite3ds?
Do you also changed
You can add for example
function SetFontFractionalPositioning(DC: HDC;
UseFractionalPositioning: boolean): boolean;
to carboncanvas.pp
Thanks, Mattias!
I will propose a new patch based on this sugestion.
Then SynEdit and Philip would have to use it, because I think the
default should
The topic seams to need more discussion before being implemented, so I
think it should not be implemented before 0.9.24
thanks,
--
Felipe Monteiro de Carvalho
_
To unsubscribe: mail [EMAIL PROTECTED] with
Mattias Gaertner ha scritto:
On Sun, 04 Nov 2007 15:15:41 +0100
Tobias Giesen [EMAIL PROTECTED] wrote:
Hello,
if we add the property to TCarbonDeviceContext, is that accessible
from a custom component in a reasonable way? Would Phil be willing to
change a property in TCarbonDeviceContext
Daniel Rincón García wrote:
Yes, I translated to sqlite3ds. The sqliteminimal example works
correctly but the 3dcompare example do not works.
I did not change dumpdata.pas to use sqlite3ds.
How I do it?
replace TSqliteDataset by TSqlite3Dataset and sqliteds by sqlite3ds
Luiz
There's a Font property, Pitch ... fpfixed
That sounds promising. I would like to try and submit a patch which
disables the fractional spacing only when the Pitch is fpfixed. Then
Philip can try if his component still works.
I read somewhere that if TCarbonDeviceContext.BeginTextRender was
Tobias Giesen schreef:
There's a Font property, Pitch ... fpfixed
That sounds promising. I would like to try and submit a patch which
disables the fractional spacing only when the Pitch is fpfixed. Then
Philip can try if his component still works.
I read somewhere that if
I agree with Giuliano, so add me to the ranks of the horrified.
TFont.Pitch doesn't appear to be used in any LCL or Carbon widgetset logic, so
that might work. Please be sure to document in the patch that this is used only
as a switch and has nothing to do with mono vs proportional spaced
Hi Phil and others,
I think if we only make careful amendments to carboncanvas.pp and
nowhere else, then nobody needs to be horrified any more.
I did not see your screenshots! I can confirm that the text won't look
identical to the buttons even with my changes, but that is not so
important. It
Hi,
I don't understand the issue. The Screen cannot display fractional
character positions anyway, so why would this make any difference?
My current guess is that the adequate position is being truncaded
rather then rounded, and that would cause in the worse case a 1 pixel
difference from where
What is the oldest Windows version you run Lazarus on
This Ask for to customers or to developers (We)?.
BTW, I still have customers using Win98SE and that make me test my
project in Win98 before release it, but in fact i like to force them
to use WinXP, for that i voted WinXP.
On Nov 1, 2007
zaher dirkey schreef:
What is the oldest Windows version you run Lazarus on
This Ask for to customers or to developers (We)?.
It is for developers, so on which OS do you run lazarus.
Not for users, then the question would be: on which OS do you want to
run LCL applications, or something
Felipe Monteiro de Carvalho wrote:
Hi,
I don't understand the issue. The Screen cannot display fractional
character positions anyway, so why would this make any difference?
There is a rather nice demo of how to do exactly that at:
http://antigrain.com/research/font_rasterization/index.html
On Sun, 4 Nov 2007 20:43:29 +0100
Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote:
Hi,
I don't understand the issue. The Screen cannot display fractional
character positions anyway, so why would this make any difference?
Yes, it can - with antialising. gtk/pango knows fractional
In my opinion lazarus should be delphi compatible.
I know of other users who will switch to lazarus
if 100 % compatibility is achieved.
regards
Giuliano Colla schreef:
Mattias Gaertner ha scritto:
On Sun, 04 Nov 2007 15:15:41 +0100
Tobias Giesen [EMAIL PROTECTED] wrote:
Hello,
if we add
On Sun, 04 Nov 2007 18:29:40 +0100
Giuliano Colla [EMAIL PROTECTED] wrote:
Mattias Gaertner ha scritto:
On Sun, 04 Nov 2007 15:15:41 +0100
Tobias Giesen [EMAIL PROTECTED] wrote:
Hello,
if we add the property to TCarbonDeviceContext, is that accessible
from a custom component
On Sun, 04 Nov 2007 23:51:48 +0100
willem [EMAIL PROTECTED] wrote:
In my opinion lazarus should be delphi compatible.
I got the feeling my example was misunderstood.
The example shows, how to extend the carbon intf and access it from an
LCL application.
This way the LCL is kept Delphi
Hess, Philip J ha scritto:
I agree with Giuliano, so add me to the ranks of the horrified.
TFont.Pitch doesn't appear to be used in any LCL or Carbon widgetset logic, so
that might work. Please be sure to document in the patch that this is used only
as a switch and has nothing to do with mono
Mattias Gaertner ha scritto:
On Sun, 04 Nov 2007 18:29:40 +0100
Giuliano Colla [EMAIL PROTECTED] wrote:
[...]
There's a Font property, Pitch, which is intended exactly for this
purpose. Its possible values are fpdefault (i.e. use the font pitch
as defined in the font itself), fpfixed
38 matches
Mail list logo