Live data from Hacker News

Libre Barcode Project

graphicore.github.io

31–40 of 71 posts

Re: Libre Barcode Project

#31
post #14

Earlier quoted context omitted.

No problem translating it with Firefox : " Marelle is a free cursive police force for teaching writing in elementary school. Introduction This project is supported by the Digital Directorate for Education of the Ministry of National Education, and developed in the Forge of Digital Educational Commons. The Marelle police is designed specifically for teaching cursive writing in elementary school, it was developed by a…

> cursive police force

Homographs are tricky :-)

Re: Libre Barcode Project

#32
post #14

Earlier quoted context omitted.

No problem translating it with Firefox : " Marelle is a free cursive police force for teaching writing in elementary school. Introduction This project is supported by the Digital Directorate for Education of the Ministry of National Education, and developed in the Forge of Digital Educational Commons. The Marelle police is designed specifically for teaching cursive writing in elementary school, it was developed by a…

> cursive police force

I know I've often cursive'd the police.

Re: Libre Barcode Project

#34
post #6

Damn, yes please. Another cool font, but less original, I stumbled upon recently is Marelle https://marelle.forge.apps.education.fr/ for cursive.

> https://marelle.forge.apps.education.fr/ This website is in French so I was unable tounderstand the text and the website is very resistant to automatic translation by Google Translate > https://marelle-forge-apps-education-fr.translate.goog/?_x_t... What gives?

ooh thanks, the Bâton in capital letter is very nice.

Re: Libre Barcode Project

#35
post #24

Do not do this unless you do not have any other choice. Preferrably use whatever native barcode support of the printer involved, if it does not have that, just generate the barcode as vector image or bitmap with a resolution that is a integer fraction of the printers resolution. Generating correct Code128 as a SVG is about the same amount of work as generating the correct input for some sort of barcode font (the hard…

I once worked at a company that used a Code39 font cartridge in HP Laserjets. When HP stopped putting font cartridge slots in their printers, I had the task of intercepting print jobs and detecting the font selection sequence, then taking the text and converting it to a Code128 bitmap graphic. It wasn't hard at all, kind of fun actually.

Re: Libre Barcode Project

#36
post #24

Do not do this unless you do not have any other choice. Preferrably use whatever native barcode support of the printer involved, if it does not have that, just generate the barcode as vector image or bitmap with a resolution that is a integer fraction of the printers resolution. Generating correct Code128 as a SVG is about the same amount of work as generating the correct input for some sort of barcode font (the hard…

Shameless plug for my web-based Zint frontend: https://barcode.new (in-browser WASM) I wrote it specifically because most online barcode generators don’t support vector output or suck in some other way: ads, signup necessary, code payload exposed to server-side processing etc.

Aside from obfuscating the source code to sell licenses, how does this benefit from WASM?

Barcodes have been generated for decades on low-resource embedded devices. Even what would have been a modest-to-low-end machine 25 years ago would have no problem handling the compute needed for this job.

On this end, it just looks like the user has to deal with the penalty of dealing with 1 MB of resources when hitting the main page.

Re: Libre Barcode Project

#38

Earlier quoted context omitted.

Shameless plug for my web-based Zint frontend: https://barcode.new (in-browser WASM) I wrote it specifically because most online barcode generators don’t support vector output or suck in some other way: ads, signup necessary, code payload exposed to server-side processing etc.

Aside from obfuscating the source code to sell licenses, how does this benefit from WASM? Barcodes have been generated for decades on low-resource embedded devices. Even what would have been a modest-to-low-end machine 25 years ago would have no problem handling the compute needed for this job. On this end, it just looks like the user has to deal with the penalty of dealing with 1 MB of resources when hitting the mai…

The benefit of WASM in this case is that you can wrap a mature library written in C/C++ (in this case, Zint), and run it in a runtime that supports WASM, e.g. the browser. There's plenty of people who occasionally need to create barcodes, and not in some industrial, automated way, and a browser is just an easy way to accomplish that. Yes, you have 1MB loaded when you load the page, but hopefully that will be served from a cache.

Re: Libre Barcode Project

#39
post #2

Is anyone willing to sacrifice their sanity for the sake of implementing a QR renderer as TTF hinting code?

I love seeing nonsense like that. How that work graphically though? Just keep adding to a same QR code that keeps getting denser as more text is added? I guess it doesn't have to practical though :)

Someone implemented the Bad Apple animation inside a font https://blog.erk.dev/posts/anifont/ ( https://news.ycombinator.com/item?id=373170550 | 177 points | Aug 2023 | 62 comments )
Post reply on HN