Diskussion:Labelz: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(other label gen possibilities)
Zeile 12: Zeile 12:
  
 
  also repaired --[[Benutzer:Bkubicek|Bkubicek]] 12:07, 24. Okt. 2010 (CEST)
 
  also repaired --[[Benutzer:Bkubicek|Bkubicek]] 12:07, 24. Okt. 2010 (CEST)
 +
 +
== Other possibilities for label generation ==
 +
Just bouncing a few ideas off anybody interested... these options make the output a bit more deterministic. ;-)
 +
* use graphics drawing library (like [http://cairographics.org/ Cairo]) to draw to SVG, PNG or PDF
 +
** Cairo has [http://cairographics.org/cairo-php/ PHP bindings]
 +
* manually generate SVG and use SVG rendering software (like [http://inkscape.org/ Inkscape] in batch mode, or [http://xmlgraphics.apache.org/batik/ Batik]) to convert to PNG or PDF
 +
** Inkscape is C++, Batik is Java ⇒ probably no PHP bindings
 +
<nowiki>~~</nowiki>[[User:RavuAlHemio|Ondra]] 11:13, 3. Nov. 2010 (CET)

Version vom 3. November 2010, 12:13 Uhr

Some comments/ideas:

  • typo on labels: s/lended/lent/
error is corrected, thank you very much.. --Bkubicek 10:41, 20. Okt. 2010 (CEST)
  • I think it would make sense to make the label text a little less verbose and make the font larger, at least for the primary data points (contact info)
Font size is now fitted javascript, however it does not work in IE.--Bkubicek 12:05, 24. Okt. 2010 (CEST)
  • Use with owner\'s permission -> the ' is escaped even on printed label --Reox 02:19, 22. Okt. 2010 (CEST)
    • looks like php magic quotes? --chrysn 02:28, 22. Okt. 2010 (CEST)
Quotes repaired for the text.--Bkubicek 12:07, 24. Okt. 2010 (CEST)
  • when scanning qr code you have double escaped \, you scan Use with owner\\\'s --Reox 22:46, 22. Okt. 2010 (CEST)
also repaired --Bkubicek 12:07, 24. Okt. 2010 (CEST)

Other possibilities for label generation

Just bouncing a few ideas off anybody interested... these options make the output a bit more deterministic. ;-)

  • use graphics drawing library (like Cairo) to draw to SVG, PNG or PDF
  • manually generate SVG and use SVG rendering software (like Inkscape in batch mode, or Batik) to convert to PNG or PDF
    • Inkscape is C++, Batik is Java ⇒ probably no PHP bindings

~~Ondra 11:13, 3. Nov. 2010 (CET)