Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop bundling Open Sans font #1072

Merged
merged 1 commit into from
Dec 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RewriteRule thumbnails/(.*)$ data/thumbnails/$1 [L]

# rule for front controller
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule !.(js|ico|gif|jpg|png|css|asc|txt|eot|woff|ttf|ttf|svg|xml)$ index.php?%1
RewriteRule !.(js|ico|gif|jpg|png|css|asc|txt|svg|xml)$ index.php?%1

# rule for files
RewriteRule !favicons/ - [C]
Expand Down Expand Up @@ -129,6 +129,3 @@ RewriteRule (.*) public/$1 [L]
</IfModule>

</IfModule>

# add font types for chromium/chrome
AddType application/font-woff woff
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

### Other changes
- Removed broken instapaper scraping from Reddit spout ([#1033](https://github.com/SSilence/selfoss/pull/1033))
- Open Sans font is no longer bundled and `use_system_font` option was removed. The typeface is still set as the default font family, so if you want to use it, install it to your devices. If you want to use a different typeface, add `body { font-family: 'Foo Face'; }` to your `custom.css`.


## 2.18 – 2018-03-05
Expand Down
4 changes: 0 additions & 4 deletions _docs/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,6 @@ <h2 id="configuration_params">Configuration</h2>
<td class="documentation-first-column">anonymizer</td>
<td>set here your anonymizer service url. e.g.: anonymizer=https://anonym.to/?</td>
</tr>
<tr>
<td class="documentation-first-column">use_system_font</td>
<td>set use_system_font=1 if you have problems with special characters. Then instead of Open Sans the font Arial will be used.</td>
</tr>
<tr>
<td class="documentation-first-column">allow_public_update_access</td>
<td>set allow_public_update_access=1 for allowing public access for /update (anybody can access and start the update job).</td>
Expand Down
1 change: 0 additions & 1 deletion defaults.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ auto_mark_as_read=0
auto_collapse=0
auto_stream_more=1
anonymizer=
use_system_font=
share=gtfpde
wallabag=
wallabag_version=1
Expand Down
67 changes: 0 additions & 67 deletions public/css/fonts.css

This file was deleted.

5 changes: 3 additions & 2 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ html {
}

body {
font: lighter 18px/27px 'OpenSans', Arial, sans-serif;
font: lighter 18px/27px 'Open Sans', Arial, sans-serif;
color: black;
background:url(images/bg.gif) repeat;
height: 100%;
Expand Down Expand Up @@ -925,7 +925,8 @@ body * {

#opml h1 {
background:url(images/logo.png) left center no-repeat;
font-family:'OpenSansSemibold', Arial, sans-serif;
font-family:'Open Sans', Arial, sans-serif;
font-weight: 600; /* semi-bold */
padding-top:10px;
padding-left:40px;
font-size:1.4em;
Expand Down
Binary file removed public/fonts/OpenSans-Bold-webfont.eot
Binary file not shown.
Loading