[Lazarus] GetTextMetrics in TCanvas proposal
petr.kristan at epos.cz
petr.kristan at epos.cz
Tue Apr 6 09:20:27 CEST 2010
On Sun, Apr 04, 2010 at 04:57:06PM -0700, Jesus Reyes wrote:
>
>
> --- El vie 26-mar-10, petr.kristan at epos.cz <petr.kristan at epos.cz> escribió:
>
> > De:: petr.kristan at epos.cz <petr.kristan at epos.cz>
> > Asunto: Re: [Lazarus] GetTextMetrics in TCanvas proposal
> > A: "Lazarus mailing list" <lazarus at lists.lazarus.freepascal.org>
> > Fecha: viernes, 26 de marzo de 2010, 6:58
> > On Fri, Mar 26, 2010 at 12:19:07PM
> > +0100, Marc Weustink wrote:
> > > Paul Ishenin wrote:
> > >> 26.03.2010 16:20, petr.kristan at epos.cz
> > wrote:
> > >>> Thanks all for their reactions :(
> > >>
> > >> Developers sometimes are busy with their projects
> > :(
> > >>
> > >>> Is another place where I can discuss? Is
> > another place where LCL core
> > >>> developers response
> > >>> my few questions?
> > >>
> > >> In the irc channel #lazarus-ide
> > >>
> > >>> I have done my work on cairo canvas. It can be
> > used as separate package.
> > >>> Where should I put it? Certainly if comunity
> > have an interest.
> > >>
> > >> You idea is not bad to add GetTextMetrics. Create
> > a patch and a test.
> > >> Then add them to the bug tracker.
> > >
> > > The only thing we need to ask ourselves is, do we need
> > the "inner"
> > > TTextMetric or can we use some more userfriendly
> > version ?
> > How to imagine myself "userfriendly"?
> >
> > Petr
>
> In r24429, I added a initial version of the function GetTextMetrics to
> canvas, it works like standard winpi GetTextMetrics but it takes a
> TLCLTextMetrics record where we can add fields that can be implemented
> in all targets, currently only Ascender, Descender and Height are
> implemented in PostscriptCanvas which allows to fix a bug in
> TurboPower IPro print preview. Still waiting for you Cairo canvas
> stuff.
I merge GetTextMetrics and Cairo will be ready.
Where I should send it? Mantis has 2kB limit.
Petr
--
Petr Kristan
.
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223 Czech Republic (Eastern Europe)
fax: +420 466510709
More information about the Lazarus
mailing list