Skip to content

Commit

Permalink
package/resources: improve text output.
Browse files Browse the repository at this point in the history
- use the system font instead of Helvetica
- cleanup font definitions
- add extra newline to `CONCLUSION.rtf` to next steps not showing up
  without a click
- add actual hyperlinks to `CONCLUSION.rtf`

Fixes #15793
  • Loading branch information
MikeMcQuaid committed Jul 31, 2023
1 parent c531a35 commit a193a2e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
12 changes: 8 additions & 4 deletions package/resources/CONCLUSION.rtf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{\rtf1\ansi\ansicpg1252\cocoartf2709
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica-Bold;\f1\fswiss\fcharset0 Helvetica;\f2\fnil\fcharset0 Menlo-Regular;
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 HelveticaNeue-Bold;\f1\fnil\fcharset0 HelveticaNeue;\f2\fnil\fcharset0 Menlo-Regular;
}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
Expand All @@ -15,13 +15,13 @@
\
Read the analytics documentation (and how to opt-out) here:\
\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0
\ls1\ilvl0\cf0 {\listtext \uc0\u8259 }\ul https://docs.brew.sh/Analytics\
\ls1\ilvl0\cf0 {\listtext \uc0\u8259 }{\field{\*\fldinst{HYPERLINK "https://docs.brew.sh/Analytics"}}{\fldrslt \ul https://docs.brew.sh/Analytics}}\ul \
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\cf0 \ulnone No analytics data has been sent yet.\
\
Homebrew is run entirely by unpaid volunteers. Please consider donating:\
\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0
\ls2\ilvl0\cf0 {\listtext \uc0\u8259 }\ul https://github.com/Homebrew/brew#donations\
\ls2\ilvl0\cf0 {\listtext \uc0\u8259 }{\field{\*\fldinst{HYPERLINK "https://github.com/Homebrew/brew#donations"}}{\fldrslt \ul https://github.com/Homebrew/brew#donations}}\ul \
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\cf0 \ulc0 \
\ulnone Next steps:\ul \
Expand All @@ -40,4 +40,8 @@ Homebrew is run entirely by unpaid volunteers. Please consider donating:\
\f1 to get started\
{\listtext \uc0\u8259 }Further documentation:\
\pard\tx940\tx1440\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li1440\fi-1440\pardirnatural\partightenfactor0
\ls3\ilvl1\cf0 {\listtext \uc0\u8259 }\ul https://docs.brew.sh}
\ls3\ilvl1\cf0 {\listtext \uc0\u8259 }{\field{\*\fldinst{HYPERLINK "https://docs.brew.sh"}}{\fldrslt \ul https://docs.brew.sh}}\ul \
\pard\tx940\tx1440\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li1440\fi-1440\pardirnatural\partightenfactor0
\cf0 \
\
}
15 changes: 8 additions & 7 deletions package/resources/WELCOME.rtf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{\rtf1\ansi\ansicpg1252\cocoartf2709
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Menlo-Regular;}
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{hyphen\}}{\leveltext\leveltemplateid1\'01\uc0\u8259 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}}
Expand All @@ -9,11 +9,12 @@

\f0\fs24 \cf0 This package will install to:\
\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0
\ls1\ilvl0
\f1 \cf0 {\listtext \uc0\u8259 }/opt/homebrew
\ls1\ilvl0\cf0 {\listtext \uc0\u8259 }
\f1 /opt/homebrew
\f0 on Apple Silicon\
\ls1\ilvl0
\f1 {\listtext \uc0\u8259 }/usr/local/bin/brew
\f0 and
{\listtext \uc0\u8259 }
\f1 /usr/local/bin/brew
\f0 and
\f1 /usr/local/Homebrew
\f0 on Intel}
\f0 on Intel\
}

0 comments on commit a193a2e

Please sign in to comment.