~ubuntu-branches/ubuntu/quantal/xdaliclock/quantal

« back to all changes in this revision

Viewing changes to numbers_big/README

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2010-04-20 08:42:20 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100420084220-j7ykvh34b2jx7hyv
Tags: 2.31-1
* New maintainer (Closes: #561233)
* New upstream release (Closes: #578379)
* debian/control:
  + Updated to Standards-Version 3.8.4
  + Added ${misc:Depends} to Depends
  + Updated debhelper dependency to 7
* debian/rules:
  + Do not do append to copyright file trick
  + Used dh_prep instead of dh_clean -k
* Converted package to new source format 3.0 (quilt)
* debian/copyright:
  + Added missing vroot.h copyright
  + Better copyright assignment, year for Author
* debian/patches/spelling-error-in-manpage_xdaliclock:
  + Added patch to fix manpage spelling mistake by Florian Ernst
    <florian@debian.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
#############
217
217
 
218
218
  Unfortunately, those sizes aren't optimal for PalmOS screens, which are
219
 
  generally only 160 pixels wide.  The "D" characters are 88 wide (not 80).
220
 
  So let's make a D2 image that is just slightly smaller than the D image:
 
219
  generally only 160 pixels wide.  The "D" characters are 88 wide, so let's
 
220
  make a D2 image that is 78 wide, just slightly smaller than the D image:
221
221
 
222
222
     giftopnm dalifontA.gif | pamscale 0.1136 | pgmtopbm -threshold | \
223
223
       pnmcrop -top -bottom > all.pbm
260
260
     for f in *D2.xbm ; do \
261
261
       sed 's/ char / unsigned char /' < $f > a && mv a $f ; \
262
262
     done
 
263
 
 
264
#############
 
265
 
 
266
     Likewise, none of those are optimal sizes for Palm WebOS screens.
 
267
     So let's make B2=208, C2=156, C3=90, D3=64 and D4=54 as well.
 
268
 
 
269
     for f in *A.xbm ; do xbmtopbm $f | pnmscale -height 302 | \
 
270
      pgmtopbm -threshold | pbmtoxbm > `echo $f | sed s/A/B2/` ; done
 
271
 
 
272
     for f in *B2.xbm ; do xbmtopbm $f | pnmscale -height 226 | \
 
273
      pgmtopbm -threshold | pbmtoxbm > `echo $f | sed s/B2/C2/` ; done
 
274
 
 
275
     for f in *C2.xbm ; do xbmtopbm $f | pnmscale -height 131 | \
 
276
      pgmtopbm -threshold | pbmtoxbm > `echo $f | sed s/C2/C3/` ; done
 
277
 
 
278
     for f in *C3.xbm ; do xbmtopbm $f | pnmscale -height 93 | \
 
279
      pgmtopbm -threshold | pbmtoxbm > `echo $f | sed s/C3/D3/` ; done
 
280
 
 
281
     for f in *D3.xbm ; do xbmtopbm $f | pnmscale -height 78 | \
 
282
      pgmtopbm -threshold | pbmtoxbm > `echo $f | sed s/D3/D4/` ; done
 
283
 
 
284
     for f in *{B2,C2,C3,D3,D4}.xbm ; do n=`echo $f|sed 's/\..*$//'`; \
 
285
      sed -e "s/noname/$n/g" -e  's/ char / unsigned char /' \
 
286
      < $f > a && mv a $f ; done