Skip to content

A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.

Brand assets: the wordmark as outlines, the brand fonts (OFL)

gelenmedya1a4cb633f8f4
diff --git a/crates/rf-app/assets/fonts/BricolageGrotesque-Regular.otf b/crates/rf-app/assets/fonts/BricolageGrotesque-Regular.otf
new file mode 100644
index 00000000..a532d509
Binary files /dev/null and b/crates/rf-app/assets/fonts/BricolageGrotesque-Regular.otf differ
diff --git a/crates/rf-app/assets/fonts/BricolageGrotesque96pt-SemiBold.otf b/crates/rf-app/assets/fonts/BricolageGrotesque96pt-SemiBold.otf
new file mode 100644
index 00000000..fc111338
Binary files /dev/null and b/crates/rf-app/assets/fonts/BricolageGrotesque96pt-SemiBold.otf differ
diff --git a/crates/rf-app/assets/fonts/Doto-Black.ttf b/crates/rf-app/assets/fonts/Doto-Black.ttf
new file mode 100644
index 00000000..9aea70aa
Binary files /dev/null and b/crates/rf-app/assets/fonts/Doto-Black.ttf differ
diff --git a/crates/rf-app/assets/fonts/OFL.txt b/crates/rf-app/assets/fonts/OFL.txt
new file mode 100644
index 00000000..05f4e563
--- /dev/null
+++ b/crates/rf-app/assets/fonts/OFL.txt
@@ -0,0 +1,101 @@
+The fonts in this folder are the brand fonts of rustyfiles (the speed test card, the About page, the
+wordmark). Each is used under the SIL Open Font License, Version 1.1, unchanged except that
+Doto-Black.ttf is the variable Doto font fixed at its Black weight (wght 900, ROND 0).
+
+BricolageGrotesque96pt-SemiBold.otf, BricolageGrotesque-Regular.otf:
+Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
+
+Doto-Black.ttf:
+Copyright 2024 The Doto Project Authors (https://github.com/oliverlalan/Doto)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) and the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/crates/rf-app/assets/rustyfiles-small.svg b/crates/rf-app/assets/rustyfiles-small.svg
index d0ef6bdd..836c2ea8 100644
--- a/crates/rf-app/assets/rustyfiles-small.svg
+++ b/crates/rf-app/assets/rustyfiles-small.svg
@@ -1,4 +1,4 @@
-<!-- rustyfiles logo: Kor zap, 16-24 px version, folder +120 taller (the user's folder design; bolt: Lucide "zap", ISC). Source of tools/make_icon.py -->
+<!-- rustyfiles logo, 16-24 px version: dark folder with an ember bolt (bolt: Lucide "zap", ISC). Source of tools/make_icon.py -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.00 -53.09 1027.28 1027.28">
<defs>
<linearGradient id="backd1201" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="0" y2="801">
diff --git a/crates/rf-app/assets/rustyfiles-wordmark.svg b/crates/rf-app/assets/rustyfiles-wordmark.svg
new file mode 100644
index 00000000..23c48c8c
--- /dev/null
+++ b/crates/rf-app/assets/rustyfiles-wordmark.svg
@@ -0,0 +1,36 @@
+<!-- rustyfiles wordmark: the logo and the name, letters as outlines (Bricolage Grotesque, SIL OFL 1.1, see fonts/OFL.txt). Made by tools/make_wordmark.py. -->
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3568.6 1000">
+<svg x="0" y="0" width="1000" height="1000" viewBox="-0.00 -53.09 1027.28 1027.28">
+<defs>
+ <linearGradient id="backd1200" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="0" y2="801">
+ <stop offset="0" stop-color="#4a4a4f"/><stop offset="1" stop-color="#1c1c1f"/>
+ </linearGradient>
+ <linearGradient id="frontd1200" gradientUnits="userSpaceOnUse" x1="0" y1="159" x2="0" y2="800">
+ <stop offset="0" stop-color="#2c2c31"/><stop offset="1" stop-color="#050506"/>
+ </linearGradient>
+ <linearGradient id="boltd1200" gradientUnits="userSpaceOnUse" x1="430" y1="222" x2="600" y2="737">
+ <stop offset="0" stop-color="#ffd2a6"/><stop offset="1" stop-color="#ff6a1a"/>
+ </linearGradient>
+ <linearGradient id="rimd1200" gradientUnits="userSpaceOnUse" x1="0" y1="159" x2="0" y2="420">
+ <stop offset="0" stop-color="#fff" stop-opacity="0.16"/><stop offset="1" stop-color="#fff" stop-opacity="0"/>
+ </linearGradient>
+ <linearGradient id="boltlod1200" gradientUnits="userSpaceOnUse" x1="500" y1="420" x2="640" y2="737">
+ <stop offset="0" stop-color="#ff8a3d"/><stop offset="1" stop-color="#d9480f"/>
+ </linearGradient>
+ <radialGradient id="glowd1200" gradientUnits="userSpaceOnUse" cx="514" cy="539.5" r="330">
+ <stop offset="0" stop-color="#ff6a1a" stop-opacity="0.34"/><stop offset="1" stop-color="#ff6a1a" stop-opacity="0"/>
+ </radialGradient>
+ <linearGradient id="boltzd1200" x1="0" y1="0" x2="0.3" y2="1">
+ <stop offset="0" stop-color="#ffd2a6"/><stop offset="1" stop-color="#ff6a1a"/>
+ </linearGradient>
+ <clipPath id="fcd1200"><path d="M129.37 159.36l768.54 0c70.55,0 128.09,57.54 128.09,128.09l0 504.27c0,70.55 -57.54,128.09 -128.09,128.09l-768.54 0c-70.55,0 -128.09,-57.54 -128.09,-128.09l0 -504.27c0,-70.55 57.54,-128.09 128.09,-128.09z"/></clipPath>
+ </defs>
+ <path d="M129.37 0l157.46 0c35.27,0 65.63,12.57 90.57,37.52l14.27 14.27c24.94,24.94 55.3,37.52 90.57,37.52l415.66 0c70.55,0 128.09,57.54 128.09,128.09l0 504.27c0,70.55 -57.54,128.09 -128.09,128.09l-768.54 0c-70.55,0 -128.09,-57.54 -128.09,-128.09l0 -593.58c0,-70.55 57.54,-128.09 128.09,-128.09z" fill="url(#backd1200)"/>
+ <path d="M129.37 159.36l768.54 0c70.55,0 128.09,57.54 128.09,128.09l0 504.27c0,70.55 -57.54,128.09 -128.09,128.09l-768.54 0c-70.55,0 -128.09,-57.54 -128.09,-128.09l0 -504.27c0,-70.55 57.54,-128.09 128.09,-128.09z" fill="url(#frontd1200)"/>
+ <rect x="0" y="150" width="1028" height="780" fill="url(#glowd1200)" clip-path="url(#fcd1200)"/>
+ <path d="M129.37 159.36l768.54 0c70.55,0 128.09,57.54 128.09,128.09l0 504.27c0,70.55 -57.54,128.09 -128.09,128.09l-768.54 0c-70.55,0 -128.09,-57.54 -128.09,-128.09l0 -504.27c0,-70.55 57.54,-128.09 128.09,-128.09z" fill="none" stroke="url(#rimd1200)" stroke-width="5"/>
+ <path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" transform="translate(201.0 227.5) scale(26)" fill="url(#boltzd1200)"/>
+</svg>
+<path fill="#f2f0ec" d="M1146.24 800.0H1226.88V677.76C1226.88 593.28 1253.76 545.28 1299.84 545.28C1313.92 545.28 1329.28 549.76 1345.92 558.0799999999999L1350.4 469.76C1335.68 462.08 1320.32 458.24 1306.24 458.24C1259.52 458.24 1226.24 500.48 1218.56 609.92H1213.44L1217.92 465.92H1146.24V629.76ZM1475.1999999999998 808.96C1544.32 808.96 1579.52 764.8 1590.3999999999999 663.6800000000001H1594.8799999999999L1590.3999999999999 800.0H1661.44V465.92H1580.1599999999999V584.3199999999999C1580.1599999999999 691.2 1550.08 736.64 1500.8 736.64C1463.04 736.64 1446.3999999999999 711.04 1446.3999999999999 643.2V465.92H1365.12V643.84C1365.12 755.84 1399.04 808.96 1475.1999999999998 808.96ZM1834.8799999999999 808.96C1926.3999999999999 808.96 1978.8799999999999 769.92 1978.8799999999999 708.48C1978.8799999999999 631.04 1904.6399999999999 615.04 1846.3999999999999 603.52C1795.84 593.28 1765.12 585.6 1765.12 556.8C1765.12 533.76 1786.8799999999999 518.4 1823.36 518.4C1866.8799999999999 518.4 1896.32 540.8 1893.12 586.24L1963.52 578.56C1971.1999999999998 491.52 1902.7199999999998 456.96 1827.84 456.96C1745.28 456.96 1688.9599999999998 497.28 1688.9599999999998 562.56C1688.9599999999998 631.04 1746.56 647.04 1825.28 664.96C1877.12 676.48 1901.4399999999998 683.52 1901.4399999999998 709.76C1901.4399999999998 735.36 1875.84 748.16 1837.4399999999998 748.16C1788.8 748.16 1758.08 728.3199999999999 1758.7199999999998 675.84L1687.04 682.24C1681.9199999999998 775.68 1747.84 808.96 1834.8799999999999 808.96ZM2119.04 807.04C2135.68 807.04 2154.24 804.48 2176.64 797.44V723.84C2165.12 731.52 2149.7599999999998 735.36 2136.96 735.36C2111.3599999999997 735.36 2094.72 721.92 2094.72 688.64V532.48H2176.64V465.92H2094.72V391.68H2045.4399999999998L2044.1599999999999 407.68C2040.32 451.2 2024.9599999999998 471.68 1984.6399999999999 476.15999999999997H1975.0399999999997V530.56H2014.08V695.04C2014.08 770.56 2049.92 807.04 2119.04 807.04ZM2315.52 897.92C2447.3599999999997 897.92 2485.12 795.52 2485.12 702.72V465.92H2404.48V563.84C2404.48 651.52 2377.6 695.68 2333.44 695.68C2292.48 695.68 2275.2 661.12 2275.2 584.96V465.92H2194.56V604.16C2194.56 708.48 2228.48 766.72 2302.72 766.72C2362.24 766.72 2405.7599999999998 728.3199999999999 2412.16 632.3199999999999H2417.92L2414.72 700.16C2414.72 773.12 2385.2799999999997 822.4 2312.3199999999997 822.4C2279.04 822.4 2239.3599999999997 811.52 2212.48 780.8L2186.24 856.96C2220.7999999999997 885.76 2271.3599999999997 897.92 2315.52 897.92Z"/>
+<path fill="#ff6a1a" d="M2549.12 800.0H2629.12V583.6800000000001H2704.64V519.6800000000001H2643.2C2606.08 519.6800000000001 2584.9599999999996 498.56 2584.9599999999996 471.04C2584.9599999999996 445.44 2603.52 428.8 2632.9599999999996 428.8C2655.3599999999997 428.8 2676.4799999999996 437.76 2700.16 457.59999999999997L2708.4799999999996 382.08C2685.4399999999996 360.32 2656.0 350.08 2620.7999999999997 350.08C2553.6 350.08 2509.4399999999996 387.84 2509.4399999999996 442.88C2509.4399999999996 478.08 2527.3599999999997 516.48 2593.2799999999997 525.44V530.56L2499.2 524.16V583.6800000000001H2549.12ZM2762.8799999999997 433.28C2794.8799999999997 433.28 2812.16 418.56 2812.16 393.59999999999997C2812.16 367.36 2795.5199999999995 353.28 2762.8799999999997 353.28C2730.8799999999997 353.28 2713.6 366.71999999999997 2713.6 392.96C2713.6 418.56 2730.24 433.28 2762.8799999999997 433.28ZM2722.5599999999995 800.0H2803.8399999999997V465.92H2722.5599999999995ZM2837.1199999999994 800.0H2918.3999999999996V358.4H2837.1199999999994ZM3106.5599999999995 808.96C3212.16 808.96 3254.3999999999996 744.96 3251.2 680.96L3176.3199999999997 676.48C3178.24 711.68 3161.5999999999995 746.24 3107.8399999999997 746.24C3053.4399999999996 746.24 3023.9999999999995 712.3199999999999 3021.4399999999996 643.84L3242.8799999999997 640.64C3256.3199999999997 533.76 3205.7599999999998 456.96 3100.7999999999997 456.96C2991.3599999999997 456.96 2942.72 540.8 2942.72 638.0799999999999C2942.72 734.72 2990.72 808.96 3106.5599999999995 808.96ZM3100.7999999999997 522.88C3143.6799999999994 522.88 3166.0799999999995 549.12 3169.2799999999997 593.28L3024.6399999999994 595.84C3032.9599999999996 551.04 3056.6399999999994 522.88 3100.7999999999997 522.88ZM3411.8399999999992 808.96C3503.3599999999997 808.96 3555.8399999999992 769.92 3555.8399999999992 708.48C3555.8399999999992 631.04 3481.5999999999995 615.04 3423.3599999999997 603.52C3372.7999999999993 593.28 3342.0799999999995 585.6 3342.0799999999995 556.8C3342.0799999999995 533.76 3363.8399999999997 518.4 3400.3199999999997 518.4C3443.8399999999992 518.4 3473.2799999999993 540.8 3470.0799999999995 586.24L3540.4799999999996 578.56C3548.1599999999994 491.52 3479.6799999999994 456.96 3404.7999999999993 456.96C3322.2399999999993 456.96 3265.9199999999996 497.28 3265.9199999999996 562.56C3265.9199999999996 631.04 3323.5199999999995 647.04 3402.2399999999993 664.96C3454.0799999999995 676.48 3478.3999999999996 683.52 3478.3999999999996 709.76C3478.3999999999996 735.36 3452.7999999999993 748.16 3414.3999999999996 748.16C3365.7599999999993 748.16 3335.0399999999995 728.3199999999999 3335.6799999999994 675.84L3263.9999999999995 682.24C3258.8799999999997 775.68 3324.7999999999993 808.96 3411.8399999999992 808.96Z"/>
+</svg>
diff --git a/crates/rf-app/assets/rustyfiles.svg b/crates/rf-app/assets/rustyfiles.svg
index f336a080..06bae3f7 100644
--- a/crates/rf-app/assets/rustyfiles.svg
+++ b/crates/rf-app/assets/rustyfiles.svg
@@ -1,4 +1,4 @@
-<!-- rustyfiles logo: Kor zap parıltı, folder +120 taller (the user's folder design; bolt: Lucide "zap", ISC). Source of tools/make_icon.py -->
+<!-- rustyfiles logo: dark folder with an ember bolt (bolt: Lucide "zap", ISC). Source of tools/make_icon.py -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.00 -53.09 1027.28 1027.28">
<defs>
<linearGradient id="backd1200" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="0" y2="801">
diff --git a/tools/make_wordmark.py b/tools/make_wordmark.py
new file mode 100644
index 00000000..ba643283
--- /dev/null
+++ b/tools/make_wordmark.py
@@ -0,0 +1,78 @@
+"""Writes crates/rf-app/assets/rustyfiles-wordmark.svg: the logo (assets/rustyfiles.svg) beside the name, "rusty" in ink and
+"files" in ember, with the letters drawn as outlines from Bricolage Grotesque 96pt SemiBold (assets/fonts), so the file is the
+whole picture on its own: no font needed to show it. The speed test card and the About page draw it; the site and posts can
+use it as it is.
+
+ python tools/make_wordmark.py (needs fonttools and uharfbuzz)
+
+The ink colour is #f2f0ec (for dark backgrounds); the app swaps it for a dark one on a light theme.
+"""
+import re
+from pathlib import Path
+
+import uharfbuzz as hb
+from fontTools.pens.svgPathPen import SVGPathPen
+from fontTools.pens.transformPen import TransformPen
+from fontTools.ttLib import TTFont
+
+ROOT = Path(__file__).resolve().parent.parent
+ASSETS = ROOT / "crates" / "rf-app" / "assets"
+FONT = ASSETS / "fonts" / "BricolageGrotesque96pt-SemiBold.otf"
+INK, EMBER = "#f2f0ec", "#ff6a1a"
+
+LOGO_SIZE = 1000.0 # the logo is drawn in a square this big
+TEXT_SIZE = 640.0 # the name's font size, in the same units
+GAP = 120.0 # between the logo and the name
+TRACKING = -0.03 # letter spacing, in ems (the posts' headlines are set a little tight)
+
+
+def shape(font_bytes, text):
+ face = hb.Face(font_bytes)
+ font = hb.Font(face)
+ buf = hb.Buffer()
+ buf.add_str(text)
+ buf.guess_segment_properties()
+ hb.shape(font, buf, {"kern": True, "liga": True})
+ return [(info.codepoint, pos.x_advance, pos.x_offset, pos.y_offset) for info, pos in zip(buf.glyph_infos, buf.glyph_positions)]
+
+
+def main():
+ data = FONT.read_bytes()
+ tt = TTFont(FONT)
+ upem = tt["head"].unitsPerEm
+ glyphs = tt.getGlyphSet()
+ order = tt.getGlyphOrder()
+ scale = TEXT_SIZE / upem
+ cap = tt["OS/2"].sCapHeight * scale
+ xh = tt["OS/2"].sxHeight * scale
+ # the name sits so that its x-height is centred on the folder's body (the lower part of the logo square)
+ baseline = LOGO_SIZE * 0.80
+ x = LOGO_SIZE + GAP
+ parts = []
+ for word, colour in (("rusty", INK), ("files", EMBER)):
+ pen = SVGPathPen(glyphs)
+ for gid, adv, xo, yo in shape(data, word):
+ # font units have y up; the SVG has y down
+ t = TransformPen(pen, (scale, 0, 0, -scale, x + xo * scale, baseline - yo * scale))
+ glyphs[order[gid]].draw(t)
+ x += adv * scale + TRACKING * TEXT_SIZE
+ parts.append(f'<path fill="{colour}" d="{pen.getCommands()}"/>')
+ width = x - TRACKING * TEXT_SIZE
+
+ logo = (ASSETS / "rustyfiles.svg").read_text(encoding="utf-8")
+ m = re.search(r'<svg[^>]*viewBox="([^"]+)"[^>]*>(.*)</svg>', logo, re.S)
+ view, body = m.group(1), m.group(2).strip()
+ out = (
+ "<!-- rustyfiles wordmark: the logo and the name, letters as outlines (Bricolage Grotesque, SIL OFL 1.1, see fonts/OFL.txt). "
+ "Made by tools/make_wordmark.py. -->\n"
+ f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {width:.1f} {LOGO_SIZE:.0f}">\n'
+ f'<svg x="0" y="0" width="{LOGO_SIZE:.0f}" height="{LOGO_SIZE:.0f}" viewBox="{view}">\n{body}\n</svg>\n'
+ + "\n".join(parts)
+ + "\n</svg>\n"
+ )
+ (ASSETS / "rustyfiles-wordmark.svg").write_text(out, encoding="utf-8", newline="\n")
+ print(f"{ASSETS / 'rustyfiles-wordmark.svg'}: {width:.0f} x {LOGO_SIZE:.0f}, cap {cap:.0f}, x-height {xh:.0f}")
+
+
+if __name__ == "__main__":
+ main()