SRL Archive - Suggestions

Automatically fill the fonts directory


mastaraymond

2010-03-06 14:28:32

We need to automatically 'generate' the fonts folder. The font files could possibly be uploaded at a FTP-server, or something alike? We need some way to keep track of the outdated pictures though.. You don't want to redownload all images when just 1 has got updated..

Nava2

2010-03-06 15:23:03

Why not use the svn downloader code mixter wrote, mod it to be used in Lazarus (unless there is another library already written) then use that?

Could also get them from the git repos for SRL 5.

Wizzup?

2010-03-06 17:55:18

From: mastaraymond
We need to automatically 'generate' the fonts folder. The font files could possibly be uploaded at a FTP-server, or something alike? We need some way to keep track of the outdated pictures though.. You don't want to redownload all images when just 1 has got updated..


If we add some sort of zip / tar library I can easily generate Font ``snapshots''.

E:
GZip:
zstream
A unit that contains compression streams and streams to read .gz gzipped files.

Tar:
http://wiki.freepascal.org/libtar

mixster

2010-03-06 22:09:26

From: Nava2
Why not use the svn downloader code mixter wrote, mod it to be used in Lazarus (unless there is another library already written) then use that?

Could also get them from the git repos for SRL 5.


Glad to see you can splel my name and I should be able to easily adapt it to the Simba repo for fonts if people want it to be so.

Nava2

2010-03-07 01:09:42

I splel plenty good, no need to criticize. :(

Wizzup, im confused, why do we need to tar things?

Wizzup?

2010-03-07 06:06:21

From: Nava2
I splel plenty good, no need to criticize. :(

Wizzup, im confused, why do we need to tar things?


Because that is much easier to transfer, and it makes the fonts a lot smaller for the transaction as well. (Grr, why don't we use PNGs for the fonts}

Markus

2010-03-07 06:19:55

Because using PNG for really small 2-bit bitmaps is pointless? The header is probably bigger than the font itself?

Wizzup?

2010-03-07 06:29:19

From: Markus
Because using PNG for really small 2-bit bitmaps is pointless? The header is probably bigger than the font itself?


I wanted to put them all together in one big bitmap… I guess that's not easy to maintain.

mastaraymond

2010-03-07 06:32:59

You don't want to redownload *all* fonts every time something has updated… That's really silly

Wizzup?

2010-03-07 06:48:31

From: mastaraymond
You don't want to redownload *all* fonts every time something has updated… That's really silly


Is it?
All the fonts:

$ ls -lsh Fonts.tar.bz2
20K -rw-r--r-- 1 merlijn merlijn 19K Mar 7 12:48 Fonts.tar.bz2

mastaraymond

2010-03-07 06:49:05

From: wizzup?
is it?
All the fonts:

$ ls -lsh fonts.tar.bz2
20k -rw-r--r-- 1 merlijn merlijn 19k mar 7 12:48 fonts.tar.bz2

whatever

silentwolf

2010-03-08 08:21:40

any use?