Re: [Paps-discuss] Question about scaling in paps
Brought to you by:
dov-g
|
From: Akira T. <at...@gc...> - 2006-11-03 09:53:53
|
Hi, >>>>> On Fri, 3 Nov 2006 09:53:05 +0200, >>>>> "DG" == "Dov Grobgeld" <dov...@gm...> wrote: DG> Hi Akira, DG> I just commited a large change to paps. I kept part of your changes, DG> but tossed out other parts. I would happily receive a few test DG> programs to verify the functionality. DG> By default --lpi now changes the line spacing only. But by the flag DG> --stretch-chars you can change the scaling in the y-direction as you DG> had before. But in contrast to before, lpi never effects the font size DG> in the x-direction. Okay. FWIW LPI had never effected the scaling of X but Y. if you were confused or just a typo. DG> I really doubt that anybody really used these options of texttops, as DG> I think they are aesthetically and logically broken. Sometimes we have DG> to break away old bugs and misfeatures... As you may know there are no ways to specify a font nor a font size in texttops or a program that works like a CUPS filter. so CPI/LPI just works to scale characters, in other words to specify the font size. that's why I may maintain it in the cups filter patch so that it's required for CUPS filter, but may not be for paps itself. I don't know which ways are correct, because it totally depends on its architecture -- texttops may wants to be added such options but presumably it may be supposed to be PostScript-compliant font name and the font size since they deal with PostScript as the basis of their architecture. I don't think that is a good idea, particularly to print the text out, which requires CMap support to get it working properly. people who wants to print something out with CUPS should just print it out. IMHO the obvious options like --lines-per-page, --chars-per-line (which is referring from a2ps's) and CPI/LPI should be helpful rather than just a font size because they don't want to fail the printing with the unsure font size, how it looks like. However specifying a font and a font size may be still good feature for paps since paps doesn't support the direct printing or just works as a frontend filter program, because it won't causes wasting their papers directly. they can just try out before getting the real printing. but CUPS filters aren't supposed to do so since it has to be a backend filter program. DG> I also added an option to interpret the input file as pango markup. I DG> think this is the path to take in order to get syntax highlightening. Sounds nice. so does people need to give paps a Pango marked up text, right? it would be nice if paps can highlight the text automatically according to its format. -- Akira TAGOH |