Re: SET ROLE documentation not entirely correct
"Jonathan S. Katz" <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.documentation |
|---|---|
| Message-ID | <[email protected]> |
On 4/25/19 6:54 PM, Joe Conway wrote: > On 4/25/19 5:59 PM, Jonathan S. Katz wrote: >> On 4/25/19 5:26 PM, Joe Conway wrote: >>> >>> Is there any written instruction anywhere with guidance on how the SVGs >>> should be made? >> >> https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=doc/src/sgml/images/README; > > Awesome -- that is what I had been looking for. Shouldn't we add that to > the actual documentation style guide? > >> but I would suggest we had some guidance on how to ensure the image >> stays scalable. > > Since you seem to know the magic incarnations, can you propose some words? Please see attached. Jonathan
viewBox.patch
(text/plain, 754 B)
diff --git a/doc/src/sgml/images/README b/doc/src/sgml/images/README index dd29486a09..81b426c066 100644 --- a/doc/src/sgml/images/README +++ b/doc/src/sgml/images/README @@ -59,3 +59,10 @@ Notes: - The width should be set to something. This ensures that the image is scaled to fit the page in PDF output. (Other widths than 100% might be appropriate.) + +- SVG images should be scalable as they will be rendered in a variety + of places (web, PDF, etc.) as well as in different viewports + (desktop, mobile, etc.). To help the images successfully scale, + please employe a "viewBox" attribute in the svg tag. For example, + to set an image to contain a default width and heigh of 400x300, + you would use viewBox="0.00 0.00 400.00 300.00"
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE+oS2la8r95ogZD/x8QSccp8cZScFAlzDVk0ACgkQ8QSccp8c ZSfSVxAAkPPZWovwdCfY+neMfZ8gPP94FvmFq2FDPaeNN5XviKxbIcq+QR3rcls8 nAvTSmOlwD59kTGvg3M4j7ZRlLTXnyvVvVxvB0cfsfGQ98d79Pu1dni9Gpl/HLM5 CgFWa/h0DfQ+5B0t7B7/yRFsIlzFcd92LG4H9q0o2iDAQdvkx4v9XUAcCJu+32rO HmjrHn61uUnvejOza3OskyQvNpIYCfPeoC3GwlrDXSQekgyLdOY0NgLLkeISCqZR GNoGE9xRfr9EthsTYPiwFIbns1fchMtAF9s+2L05m/D319UMZ7v4nEBEQeaUE4iP sGSokWT0c4XedlTsD/JN+KnYgTAwg5+XB6k1koFrdEhy5vVwNjY2u/9hyDIrnbM+ PyoD/ld6IMUO36/Wwyb4vXeoUdkTHJ2bFKE97sPICzi5PNGHggHhZzVU97ddcWmZ 89wbGZQ5/Gjj8tzlUOsut2tmhASai/Pj5H0hD/A41tSRfuK+wBNyR/kPg2JSO/FN XHCuS7IDg82mbJ6PWLW2EE2kHd2k1B0onV39XiLkmcoWNMrTXWvuC8IEKdHMM5Nt ZwF+sPUqDe/Rnn3cLo0idsVuhnat+shjL29Ovwizhovu+tnEs/fq5iSkdpEvOX2a OVXcURlJctFI4/m+up8SfF8nqPQubmVP1N9hvBJh1QjnyfBIK20= =v2Xh -----END PGP SIGNATURE-----