This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cache | |
import ( | |
"container/list" | |
"sync" | |
) | |
type listData[K comparable, V any] struct { | |
key K | |
data V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"image" | |
"image/color" | |
"image/draw" | |
"image/png" | |
"os" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fontconfig> | |
<match target="pattern"> | |
<edit name="dpi" mode="assign"><double>96</double></edit> | |
</match> | |
<match target="font" > | |
<edit name="rgba" mode="assign"><const>rgb</const></edit> | |
<edit name="hinting" mode="assign"><bool>true</bool></edit> | |
<edit name="antialias" mode="assign"><bool>true</bool></edit> | |
<edit name="autohint" mode="assign"><bool>true</bool></edit> | |
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit> |