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/26/19 3:04 PM, Jonathan S. Katz wrote:
> 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.

v2 -- fixed typo in height, and modified some of the language.

Jonathan
viewBox-v2.patch (text/plain, 743 B)
diff --git a/doc/src/sgml/images/README b/doc/src/sgml/images/README
index dd29486a09..089375c485 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 create with a default width and height 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/x8QSccp8cZScFAlzDWJsACgkQ8QSccp8c
ZSe59A//Vft1Ak/QzDeaD5WzWxB45lRzAAozS3/cKpferDlmWHBtoxupZN23tbcR
OpYNukMruvrVSXPzwTyVeYKD8SsJMJXqGpxELK08yAqkgJUYS9hLUeZNLHG7sUIu
dZiqfW8gF3oCSbUbPVM5p3x9tNGQc2NeRa1UBqD6eo1zGYPc8PSc3EK5YnXt7lc/
bRL4jMc94zVkWFnIEP0QUCOl7iYCtXd1YLXbNiJx6lbX4+b8mJZyaNbdFsRhAthu
YVMBDhruWJ0zQMJR7dJLVQCUd8iIyhqe06nWrfOHrYF3UcmIAiH4rnA5q2OI5Kzt
YKyrkOEwC6wR++nBk+M2QrF0ekiwR6+YknTvb/QXZaTXdE8hc8IeBZN1AmiJLRmY
M3AE6My803+/tYiHoYepMkt5qKaJ2pzidGMcBzMtk03NnDK/IEOwsjAELlwz1Qjh
d0d3tT9JfgsxLMRYaZkDrlSP8rIvrIkJZU1KZwovLPo68DsU0dA68P9PO0VYvOXf
4kfbaW3IsAT05adAlY1lApTGEp9DTSHYrNcpCo+QCC9jcDDN1pUr0Y04fwprXgVZ
o/iRkBHNb1aP/OF5O6hfnAThmQUwI3dW1YcH6fcuzpVGiutHn7RagT6AFCC5PNat
hBONt6slBTGRJKboXQMDBjxDLA7OG7UxsctOKgH2SNyI8tHI7k0=
=KpIB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.