feat: add my standard for choosing fonts

main
sudo pacman -Syu 2024-05-07 02:16:57 +07:00
parent d73e6ed415
commit fec0be818d
6 changed files with 84 additions and 72 deletions

View File

@ -1,14 +1,6 @@
run: run:
timeout: 5m timeout: 5m
tests: false tests: false
skip-dirs:
- ".*test.*"
- ".*mock.*"
- ".*example.*"
- ".*utils.*"
skip-files:
- ".*Mock.*"
- ".*_mock.*"
output: output:
sort-results: true sort-results: true
@ -25,13 +17,12 @@ linters:
- typecheck - typecheck
- unused - unused
# Custom # Custom
- err113
- errchkjson - errchkjson
- errname - errname
- errorlint - errorlint
- execinquery
- forcetypeassert - forcetypeassert
- gocritic - gocritic
- goerr113
- gofumpt - gofumpt
- gosec - gosec
- importas - importas
@ -40,10 +31,8 @@ linters:
- noctx - noctx
- prealloc - prealloc
- reassign - reassign
# - rowserrcheck
- sqlclosecheck - sqlclosecheck
- unconvert - unconvert
# - wastedassign
fast: true fast: true
linters-settings: linters-settings:
@ -91,3 +80,13 @@ linters-settings:
reassign: reassign:
patterns: patterns:
- ".*" - ".*"
issues:
exclude-dirs:
- ".*test.*"
- ".*mock.*"
- ".*example.*"
- ".*utils.*"
exclude-files:
- ".*Mock.*"
- ".*_mock.*"

View File

@ -80,6 +80,13 @@
</li> </li>
</ul> </ul>
<p>Always choose <strong>OTF</strong> over <strong>TTF</strong> format.</p> <p>Always choose <strong>OTF</strong> over <strong>TTF</strong> format.</p>
<p>My standard for choosing fonts:</p>
<ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
</ul>
<div class="markdown-heading"> <div class="markdown-heading">
<h2 class="heading-element"> <h2 class="heading-element">
<a href="https://github.com/JetBrains/JetBrainsMono">JetBrains Mono</a> <a href="https://github.com/JetBrains/JetBrainsMono">JetBrains Mono</a>
@ -93,12 +100,7 @@
></a> ></a>
</div> </div>
<p>JetBrains branding font.</p> <p>JetBrains branding font.</p>
<ul> <p>Match my standard.</p>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
</ul>
<p> <p>
Ligatures I prefer: <code>ss02</code>, <code>cv04</code>, Ligatures I prefer: <code>ss02</code>, <code>cv04</code>,
<code>cv16</code>, <code>cv18</code>, <code>cv19</code>, <code>cv16</code>, <code>cv18</code>, <code>cv19</code>,
@ -117,11 +119,8 @@
></a> ></a>
</div> </div>
<p>I often choose SS08 variant because I also love PragmataPro too.</p> <p>I often choose SS08 variant because I also love PragmataPro too.</p>
<p>Match my standard. Also:</p>
<ul> <ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
<li>Has display font</li> <li>Has display font</li>
</ul> </ul>
<p> <p>
@ -141,11 +140,8 @@
></a> ></a>
</div> </div>
<p>I often choose Casual variant.</p> <p>I often choose Casual variant.</p>
<p>Match my standard. Also:</p>
<ul> <ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
<li>Has display font</li> <li>Has display font</li>
</ul> </ul>
<p>Ligatures I prefer: <code>ss10</code>, <code>ss12</code>.</p> <p>Ligatures I prefer: <code>ss10</code>, <code>ss12</code>.</p>
@ -169,12 +165,11 @@
><span aria-hidden="true" class="octicon octicon-link"></span ><span aria-hidden="true" class="octicon octicon-link"></span
></a> ></a>
</div> </div>
<p>Does not match my standard:</p>
<ul> <ul>
<li>No Vietnamese</li> <li>No Vietnamese</li>
<li>Support bold</li>
<li>No italic</li> <li>No italic</li>
<li>No ligatures</li> <li>No ligatures</li>
<li>Has dotted zero</li>
</ul> </ul>
<p> <p>
Font is small, can display much more on small screen. I like its curved Font is small, can display much more on small screen. I like its curved
@ -193,11 +188,12 @@
></a> ></a>
</div> </div>
<p>Small fonts, saving space.</p> <p>Small fonts, saving space.</p>
<p>Does not match my standard:</p>
<ul> <ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>No ligatures</li> <li>No ligatures</li>
<li>Has dotted zero</li> </ul>
<p>But:</p>
<ul>
<li>Has display font</li> <li>Has display font</li>
</ul> </ul>
<p> <p>
@ -219,10 +215,10 @@
></a> ></a>
</div> </div>
<p>Comic vibe. Look smoothly and too much curve.</p> <p>Comic vibe. Look smoothly and too much curve.</p>
<p>Does not match my standard:</p>
<ul> <ul>
<li>No Vietnamese</li> <li>No Vietnamese</li>
<li>Support bold, italic</li> <li>No dotted zero</li>
<li>Support ligatures</li>
</ul> </ul>
<div class="markdown-heading"> <div class="markdown-heading">
<h2 class="heading-element"> <h2 class="heading-element">
@ -237,10 +233,15 @@
><span aria-hidden="true" class="octicon octicon-link"></span ><span aria-hidden="true" class="octicon octicon-link"></span
></a> ></a>
</div> </div>
<p>Does not match my standard:</p>
<ul> <ul>
<li>No Vietnamese</li> <li>No Vietnamese</li>
<li>No bold, italic</li> <li>No bold, italic</li>
<li>No ligatures (APL-385 not APL386)</li> <li>No ligatures (APL-385 not APL386)</li>
<li>No dotted zero</li>
</ul>
<p>But:</p>
<ul>
<li>Has display font (APL333)</li> <li>Has display font (APL333)</li>
</ul> </ul>
<p>I love its wide look, also it's feel nostalgic.</p> <p>I love its wide look, also it's feel nostalgic.</p>
@ -260,11 +261,12 @@
IBM branding font, good alternative for Inter, has both monospace and IBM branding font, good alternative for Inter, has both monospace and
display variant. display variant.
</p> </p>
<p>Does not match my standard:</p>
<ul> <ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>No ligatures</li> <li>No ligatures</li>
<li>Has dotted zero</li> </ul>
<p>But:</p>
<ul>
<li>Has display font</li> <li>Has display font</li>
</ul> </ul>
<p>Looks fancy. Strange <code>#</code>.</p> <p>Looks fancy. Strange <code>#</code>.</p>
@ -280,10 +282,11 @@
><span aria-hidden="true" class="octicon octicon-link"></span ><span aria-hidden="true" class="octicon octicon-link"></span
></a> ></a>
</div> </div>
<p>Does not match my standard:</p>
<ul> <ul>
<li>No Vietnamese</li> <li>No Vietnamese</li>
<li>Support bold, italic</li>
<li>No ligatures</li> <li>No ligatures</li>
<li>No dotted zero</li>
</ul> </ul>
<p>Looks unique to me, with some sharp look.</p> <p>Looks unique to me, with some sharp look.</p>
<div class="markdown-heading"> <div class="markdown-heading">

View File

@ -194,9 +194,7 @@
Remember to rename it to Remember to rename it to
<code>crc.pnach</code> (<code>013E349D.pnach</code>, ...). <code>crc.pnach</code> (<code>013E349D.pnach</code>, ...).
</p> </p>
<div class="highlight highlight-text-adblock"> <pre lang="txt"><code>// Money
<pre>
// Money
patch=1,EE,2042DA6C,extended,05F5E0FF patch=1,EE,2042DA6C,extended,05F5E0FF
// Infinite Health Leon // Infinite Health Leon
@ -206,9 +204,8 @@ patch=1,EE,001c27f8,word,00401023
patch=1,EE,001c293c,word,00401023 patch=1,EE,001c293c,word,00401023
// Infinite Ammo // Infinite Ammo
patch=1,EE,2012009C,extended,00000000</pre patch=1,EE,2012009C,extended,00000000
> </code></pre>
</div>
<p>Beautiful result!</p> <p>Beautiful result!</p>
<p> <p>
<a <a

View File

@ -16,25 +16,27 @@ Otherwise:
Always choose **OTF** over **TTF** format. Always choose **OTF** over **TTF** format.
## [JetBrains Mono](https://github.com/JetBrains/JetBrainsMono) My standard for choosing fonts:
JetBrains branding font.
- Support Vietnamese - Support Vietnamese
- Support bold, italic - Support bold, italic
- Support ligatures - Support ligatures
- Has dotted zero - Has dotted zero
## [JetBrains Mono](https://github.com/JetBrains/JetBrainsMono)
JetBrains branding font.
Match my standard.
Ligatures I prefer: `ss02`, `cv04`, `cv16`, `cv18`, `cv19`, `cv20`. Ligatures I prefer: `ss02`, `cv04`, `cv16`, `cv18`, `cv19`, `cv20`.
## [Iosevka](https://github.com/be5invis/Iosevka) ## [Iosevka](https://github.com/be5invis/Iosevka)
I often choose SS08 variant because I also love PragmataPro too. I often choose SS08 variant because I also love PragmataPro too.
- Support Vietnamese Match my standard. Also:
- Support bold, italic
- Support ligatures
- Has dotted zero
- Has display font - Has display font
Font is narrow, can display much more on small screen. But too much Font is narrow, can display much more on small screen. But too much
@ -44,10 +46,8 @@ config/variant for ligatures scares me.
I often choose Casual variant. I often choose Casual variant.
- Support Vietnamese Match my standard. Also:
- Support bold, italic
- Support ligatures
- Has dotted zero
- Has display font - Has display font
Ligatures I prefer: `ss10`, `ss12`. Ligatures I prefer: `ss10`, `ss12`.
@ -58,11 +58,11 @@ Looks good on my phone.
## [agave](https://github.com/blobject/agave) ## [agave](https://github.com/blobject/agave)
Does not match my standard:
- No Vietnamese - No Vietnamese
- Support bold
- No italic - No italic
- No ligatures - No ligatures
- Has dotted zero
Font is small, can display much more on small screen. I like its curved look. Font is small, can display much more on small screen. I like its curved look.
@ -70,10 +70,12 @@ Font is small, can display much more on small screen. I like its curved look.
Small fonts, saving space. Small fonts, saving space.
- Support Vietnamese Does not match my standard:
- Support bold, italic
- No ligatures - No ligatures
- Has dotted zero
But:
- Has display font - Has display font
Unique to me. Strange `#`, looks same as `4` (I don't like it for now). Unique to me. Strange `#`, looks same as `4` (I don't like it for now).
@ -82,15 +84,22 @@ Unique to me. Strange `#`, looks same as `4` (I don't like it for now).
Comic vibe. Look smoothly and too much curve. Comic vibe. Look smoothly and too much curve.
Does not match my standard:
- No Vietnamese - No Vietnamese
- Support bold, italic - No dotted zero
- Support ligatures
## [APL-385](https://apl385.com/fonts/index.htm) and [APL386](https://github.com/abrudz/APL386) ## [APL-385](https://apl385.com/fonts/index.htm) and [APL386](https://github.com/abrudz/APL386)
Does not match my standard:
- No Vietnamese - No Vietnamese
- No bold, italic - No bold, italic
- No ligatures (APL-385 not APL386) - No ligatures (APL-385 not APL386)
- No dotted zero
But:
- Has display font (APL333) - Has display font (APL333)
I love its wide look, also it's feel nostalgic. I love its wide look, also it's feel nostalgic.
@ -100,19 +109,23 @@ I love its wide look, also it's feel nostalgic.
IBM branding font, good alternative for Inter, has both monospace and display IBM branding font, good alternative for Inter, has both monospace and display
variant. variant.
- Support Vietnamese Does not match my standard:
- Support bold, italic
- No ligatures - No ligatures
- Has dotted zero
But:
- Has display font - Has display font
Looks fancy. Strange `#`. Looks fancy. Strange `#`.
## [Hermit](https://github.com/pcaro90/hermit) ## [Hermit](https://github.com/pcaro90/hermit)
Does not match my standard:
- No Vietnamese - No Vietnamese
- Support bold, italic
- No ligatures - No ligatures
- No dotted zero
Looks unique to me, with some sharp look. Looks unique to me, with some sharp look.

View File

@ -83,11 +83,11 @@ and I quote:
> This is useful in multiple frequently recurring and important scenarios: > This is useful in multiple frequently recurring and important scenarios:
> >
> - Handling of rollback/cleanup operations in the context of an event (e.g., > - Handling of rollback/cleanup operations in the context of an event (e.g.,
> HTTP request) that has to continue regardless of whether the triggering > HTTP request) that has to continue regardless of whether the triggering
> event is canceled (e.g., due to timeout or the client going away) > event is canceled (e.g., due to timeout or the client going away)
> - Handling of long-running operations triggered by an event (e.g., HTTP > - Handling of long-running operations triggered by an event (e.g., HTTP
> request) that terminates before the termination of the long-running > request) that terminates before the termination of the long-running
> operation > operation
So beside waiting to upgrade to Go `1.21` to use `context.WithoutCancel`, you So beside waiting to upgrade to Go `1.21` to use `context.WithoutCancel`, you
can use this [workaround code](https://pkg.go.dev/context@master#WithoutCancel): can use this [workaround code](https://pkg.go.dev/context@master#WithoutCancel):

View File

@ -25,7 +25,7 @@ related though.
> So the principle is straightforward: Set the conditions of “yes” such that: > So the principle is straightforward: Set the conditions of “yes” such that:
> >
> - If they say “yes,” youre happy because the terms or money are so good, it > - If they say “yes,” youre happy because the terms or money are so good, it
> more than compensates for the distraction, perhaps funding the thing you > more than compensates for the distraction, perhaps funding the thing you
> really want to do. > really want to do.
> - If they say “no,” youre happy because it wasnt a great fit anyway; its > - If they say “no,” youre happy because it wasnt a great fit anyway; its
> not a worthwhile return on your time and effort. > not a worthwhile return on your time and effort.