[Popcon-developers] popcon page renders like the old style of the main debian website
- Subject: [Popcon-developers] popcon page renders like the old style of the main debian website
- From: stephane.blondon@gmail.com (Stéphane Blondon)
- Date: Sat, 4 Jan 2014 22:48:19 +0100
- Message-id: <[🔎] CAOy+up54iK7tg3th8d0+qPM5xTUYB+K+eA=nehysT9=QCu=OkA@mail.gmail.com>
- In-reply-to: <CAOy+up7DQNcwHnKO72VM2hE7E8hDZWg4OwWd9uFLZpr2BYUzzQ@mail.gmail.com>
- References: <CAOy+up4Pt0Qr0_3K7g=BraeHtKz-9tfdiN6k4YxdeJu0=APoiQ@mail.gmail.com> <20131207204551.GB9975@yellowpig> <20131208210848.GH9975@yellowpig> <CAOy+up6EB+z3a82S1=pRm9xd16GTGgLLxsTxgjD+X4MoJTGAaA@mail.gmail.com> <20131214231455.GA30410@yellowpig> <CAOy+up5yo4-Euy3h17=hevJR5sK0KRNaXCpQ6gxM-2trkBKwZQ@mail.gmail.com> <20131223200221.GD31954@yellowpig> <CAOy+up5NP3PB_CCUDJ7LHvcxWMuGNGdmjXAKKttEoohE3FLWAg@mail.gmail.com> <20131226163913.GA19305@yellowpig> <CAOy+up7sSRgtAhCmODuC359eEe-6Wjo1evhtgxzQeExO2hC87g@mail.gmail.com> <20131227162145.GA2033@yellowpig> <CAOy+up7DQNcwHnKO72VM2hE7E8hDZWg4OwWd9uFLZpr2BYUzzQ@mail.gmail.com>
2013/12/29 St?phane Blondon <stephane.blondon at gmail.com>:
> 2013/12/27 Bill Allombert <ballombe at debian.org>:
>> On Fri, Dec 27, 2013 at 12:41:28PM +0100, St?phane Blondon wrote:
>>> Do you have to have increase the height a lot? Are There other
>>> architectures not displayed?
>>
>> As an experiment, I have increased the height by 100px.
>> [...]
>> Now we have the same issue with "version in use"
>
> Ok, I understand the problem.
> Is it possible to not limit the height of the image (= the library
> uses the size needed to write all the legend)?
I checked in the documentation of the package (in
libchart-perl_2.4.6.orig.tar.gz,
Chart-2.4.6/doc/html/classChart_1_1Base.html ) and it's not possible:
private int Chart::Base::_init ( scalar x, scalar y)
Parameters:
[in] $x Width of the final image in pixels (Default: 400)
[in] $y Height of the final image in pixels (Default: 300)
I propose another way to fix the problem: compute the approximate
height needed for each image.
23 architectures => max(500px, 50 + 23*17px) = 500px
38 versions of popcon tool => max(500px, 50 + 38*17px) = 696px
(Values quickly tested with Gimp.)
Others solutions (?):
- perhaps perl-gnuplot have another behaviour compatible with the CSS strategy?
- a javascript library could display the pictures on the client side.
Did you have time to see the 'title' demo provided in a previous
e-mail (with title_demo.tar.gz attachment)?
Cheers
--
Imprimez ce message en A2 et en couleur au moins 500 fois!
Br?lez des arbres!!
-- envoy? depuis ma centrale ? charbon
St?phane
Reply to: