From 433102f424c6a9d6d6a5fd771b0244c836bb48fa Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 10 Feb 2023 12:45:24 +0000 Subject: update most links https, re-point some dead ones --- src/SW/fancy-qr-codes/document.en.rest.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/SW/fancy-qr-codes/document.en.rest.txt') diff --git a/src/SW/fancy-qr-codes/document.en.rest.txt b/src/SW/fancy-qr-codes/document.en.rest.txt index 152b8a2..7164f13 100644 --- a/src/SW/fancy-qr-codes/document.en.rest.txt +++ b/src/SW/fancy-qr-codes/document.en.rest.txt @@ -34,9 +34,9 @@ That code is full of magic numbers, and the multiple nested loops don't really help legibility much. What's going on in there? To understand where those numbers came from, I studied `a QR code -tutorial `_. The most useful +tutorial `_. The most useful page for our purposes is `the one that explains "function patterns" -`_. +`_. Everything in that function assumes a 3-pixel QR module, so: @@ -86,7 +86,7 @@ So, another way to get the same result would be: Of course, it's not trivial to know whether a module is part of the data or of a function pattern, but we're in luck: the |libqrencode|_ C library `provides us with that information -`_! +`_! It generates the QR code as a matrix of bytes, and each byte is a bitfield:: @@ -135,7 +135,7 @@ Once we've installed |alien-qrencode|_, |data-qrcode|_, and .. parsed_literal:: - perl `overlay-qr.pl`_ 'http://pokketmowse.deviantart.com/art/In-the-Kawaii-of-the-Beholder-177076230' `kawaii-beholder.png`_ `kawaii-beholder-qr.png`_ + perl `overlay-qr.pl`_ 'https://pokketmowse.deviantart.com/art/In-the-Kawaii-of-the-Beholder-177076230' `kawaii-beholder.png`_ `kawaii-beholder-qr.png`_ and get this: @@ -161,7 +161,7 @@ maintained. .. _myqrpy: https://github.com/sylnsfar/qrcode/blob/master/MyQR/myqr.py#L51 .. |myqrpy| replace:: ``myqr.py`` -.. _libqrencode: http://fukuchi.org/works/qrencode/index.html.en +.. _libqrencode: https://fukuchi.org/works/qrencode/index.html.en .. |libqrencode| replace:: ``libqrencode`` .. _`text-qrcode`: https://metacpan.org/pod/Text::QRCode -- cgit v1.2.3