home.social

#xournalpp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xournalpp, aggregated by home.social.

  1. @happyborg We did it with a simple #xournal / #xournalpp drawing as we have devices with pen-support. As a drawback, you need to construct everything first and everything isn't exact, but it just works. Otherwise #scribus or #libreoffice Draw might work.

  2. Fascinating.

    tmp $ wc -c < somefile.xopp 
    735772
    tmp $ file somefile.xopp 
    somefile.xopp: gzip compressed data, from Unix, original size modulo 2^32 2086031
    tmp $ gunzip < somefile.xopp |file -
    /dev/stdin: XML 1.0 document, ASCII text, with very long lines (12483)
    tmp $ gunzip < somefile.xopp |wc
        937  204466 2086031
    tmp $ gunzip < somefile.xopp |bzip2 -9 |wc -c
    619543
    tmp $ gunzip < somefile.xopp |bzip3 |wc -c
    575115
    tmp $ gunzip < somefile.xopp |xz -9e |wc -c
    519764
    tmp $ gunzip < somefile.xopp |grep -m1 "^.stroke" |cut -c 1-160
    <stroke tool="pen" color="#3333ccff" width="2.26 0.72691752 0.73026261 0.73809079 0.74588449 0.74364294 0.72915908 0.71467521 0.71133013 0.70908858 0.7057435 0.
    tmp $ gunzip < somefile.xopp |grep -oE "\<[0-9]+\.[0-9]+\>" |wc -l
    201692
    tmp $ echo "735772/201692" |bc -l
    3.64799793744917993772
    tmp $ echo "519764/201692" |bc -l
    2.57701842413184459472
    tmp $ echo "2086031/201692" |bc -l
    10.34265612914741288697
    tmp $ 
    

    #Compression #XML #Xournal #Xournalpp #Xournal++