On Fri, 2022-05-27 at 09:02 +0800, Mark Hung wrote:
> Now I can make both bPrt and bStretch true, if I ... insert some code
> in PrintOrPDFExport to set ScaleX and ScaleY ... Interestingly, I
> didn't find any place it is set for the printer.
> I wonder if it is something that is no longer useful
Caolán McNamara 於 2022年5月26日 週四 下午6:33寫道:
> On Wed, 2022-05-25 at 21:42 +0800, Mark Hung wrote:
> > here is another precondition: OutputDevice must be a printer (bPrt
> > ==true)
>
> I think this requires that "Use printer metrics for document
> formatting" is enabled to get to this path (tools,
Caolán McNamara 於 2022年5月26日 週四 下午6:33寫道:
> On Wed, 2022-05-25 at 21:42 +0800, Mark Hung wrote:
> > here is another precondition: OutputDevice must be a printer (bPrt
> > ==true)
>
> I think this requires that "Use printer metrics for document
> formatting" is enabled to get to this path (tools,
On Wed, 2022-05-25 at 21:42 +0800, Mark Hung wrote:
> here is another precondition: OutputDevice must be a printer (bPrt
> ==true)
I think this requires that "Use printer metrics for document
formatting" is enabled to get to this path (tools, options, writer,
compatibility) which I think is "Print
On 25/05/2022 15.42, Mark Hung wrote:
You're right. GetScaleX() changes as soon as I zoom the document in or out.
I have just neglected that there is another precondition: OutputDevice
must be a printer (bPrt ==true)
I'm still trying to figure out how to have a OutputDevice use a
different scal
Hi Luboš,
Luboš Luňák 於 2022年5月25日 週三 下午12:13寫道:
> On Wednesday 25 of May 2022, Mark Hung wrote:
> > Hi,
> >
> > I'm refactoring SwFntObj::DrawText() in
> sw/soucre/core/txtnode/fntcache.c,
> > and writing unit test for it. I'm looking for a way to trigger the
> > situation that
> > GetMapMode()
On Wednesday 25 of May 2022, Mark Hung wrote:
> Hi,
>
> I'm refactoring SwFntObj::DrawText() in sw/soucre/core/txtnode/fntcache.c,
> and writing unit test for it. I'm looking for a way to trigger the
> situation that
> GetMapMode().GetScaleX() doesn't equal to 1.
Getting GetScaleX() not be 1 is
Hi,
I'm refactoring SwFntObj::DrawText() in sw/soucre/core/txtnode/fntcache.c,
and writing unit test for it. I'm looking for a way to trigger the
situation that
GetMapMode().GetScaleX() doesn't equal to 1. To be more specific, to
trigger the case bStretch = true for following code snippet.