• Community
    • Community
    • Vivaldi Social
    • Blogs
  • Forum
    • Vivaldi Forum
    • Categories
    • Recent
    • Popular
  • Themes
    • Vivaldi Themes
    • My Themes
    • FAQ
  • Contribute
    • Contribute
    • Volunteer
    • Donate
  • Browser
    • Vivaldi Browser
    • Latest News
    • Snapshots
    • Help
Register Login

Vivaldi

  • Community
  • Themes
  • Contribute
  • Browser

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Desktop
    3. Desktop Feature Requests
    4. Force default fonts

    Force default fonts

    Scheduled Pinned Locked Moved Desktop Feature Requests
    fontsaccessibility
    34 Posts 11 Posters 6.9k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LonM
      L
      LonM Soprano Patron Moderator
      last edited by LonM

      Problem
      We can choose our "default" fonts at Settings > Webpages > Fonts

      If a webpage adds css (like this forum does):

          font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
      

      Then we never see our "default" font if another specified one is present, as the fallback "monospace" is at the very end of the font stack.

      From this given example: My "default" font for the fallback monospace is Cascadia Code, but because Consolas is in the font stack, the page is rendered using Consolas instead of my choice.

      My Request
      Give us an option to Force default fonts for each of the fallback families. When enabled:

      Any CSS rule that contains a known fallback font reference, like the one above, would be re-written to just contain that fallback:

      font-family: monospace;
      

      This way users will actually be able to see the font they've picked, and no web designer can specify otherwise.

      Why

      Current methods for forcing fonts require us to add user styles via extensions or scripts, and these are bad because:

      • You need extensions or scripts
      • You can't easily differentiate between fallback font families - it's an all or nothing fix
      • You would break icon fonts

      Implementing this request would be good for a number of reasons:

      • No need for an extension or to maintain a script
      • If a user has set a font (e.g. for accessibility) for each fallback family, they will always see it
      • This won't impact "icon" fonts, which often just have the one font being referenced in the font stack
      • Having the option exist per family would give more granularity for each fallback family as to whether they want to let the designer of a website choose, or if they want to choose

      Extra note:

      • It would be nice if this could be implemented in such a way that unneeded fonts were not even downloaded, let alone displayed.

      💻 Windows 10 64-bit Sopranos Builds • en-GB • 🗳 vote for features • 🕵️‍♀️ Code of Conduct • 🐞 Report bugs

      1 Reply Last reply Reply Quote 40
    • greybeard
      G
      greybeard Ambassador
      last edited by

      I think this would be particularly valuable feature for those of us who are visually impaired.
      @LonM: Some other very good points made here too. Great idea for (optional) feature as I know some won't like the idea.
      Personally I agree with your font choices but I can see those running different OSs will have different fonts available. Also if you use something like LibreOffice you end up with some extra fonts.
      I block importation of fonts (mostly for security reasons) so I do lose any icon fonts, just get little boxes to show me something is there.
      I have gotten to get rather proficient at guessing what they mean.

      Not all who wander are lost.... most are just looking for coffee.

      1 Reply Last reply Reply Quote 1
    • baris.sehri
      B
      baris.sehri Ambassador
      last edited by

      I upvote for this because I really believe it would be an amazing optional feature to let users decide their own typefaces on the web. it can be site-specific too... maybe... a very good suggestion.

      Snapshot macOS
      Online Portfolio • Vivaldi Blog

      1 Reply Last reply Reply Quote 0
    • LonM
      L
      LonM Soprano Patron Moderator
      last edited by

      Now that Vivaldi 3.0 has ad/tracker blocking built-in, blocking fonts is the only reason I have to keep uBlock Origin installed.

      It would be nice to get rid of the extension altogether.

      💻 Windows 10 64-bit Sopranos Builds • en-GB • 🗳 vote for features • 🕵️‍♀️ Code of Conduct • 🐞 Report bugs

      1 Reply Last reply Reply Quote 2
    • A
      admacro
      last edited by

      duplicate from me. vote++

      Pesala
      P
      1 Reply Last reply
      Reply Quote 0
    • Pesala
      P
      Pesala Ambassador @admacro
      last edited by

      @admacro Vote for the first post if you haven't already done so. (Voting again will remove your vote).

      Vote for Feature Request.png

      Blog • Vivaldi Review • Server Status
      Win 10 64-bit build 19045.2486 • Snapshot 7.5.3735.34 (64-bit)

      A
      1 Reply Last reply
      Reply Quote 0
    • A
      admacro @Pesala
      last edited by

      @Pesala Already voted the first post.

      1 Reply Last reply Reply Quote 0
    • C
      CarlRobert
      last edited by A Former User

      This is an important accessibility feature none of the Chromium -based browsers possess (Google fonts conspiracy? 😛 ). Especially important for people who don't use ClearType/similar sub-pixel smoothing. Web fonts look absolutely hideous without ClearType more times than not.

      1 Reply Last reply Reply Quote 0
    • LonM
      L
      LonM Soprano Patron Moderator
      last edited by

      This is particularly annoying when I'm trying to practice reading Japanese. The fonts for languages that have very intricate characters are not great, but if I can force my font of choice then I can be sure to be able to read it.

      You don't need to know what it says, but here is an example of the BBC using their own choice of font:

      f639f7a1-37a0-468a-b018-dd7c2325e2b8-image.png

      See the jagged edges on the first character? Compare this with when I force it to use my own choice of font:

      4d6f6777-f34d-47e8-94f9-86aacbdb7eee-image.png

      It's so much less ragged and ugly, and is vastly easier to read, and the font size didn't need to be increased to achieve this - just a change in font. This isn't so much an issue for simple characters, but for the more complex kanji characters it really makes a difference.

      Some users might argue this is the fault of chrome's poor font rendering, but when we have an easy solution available to us (default fonts) it would be stupid to not make use of it.

      💻 Windows 10 64-bit Sopranos Builds • en-GB • 🗳 vote for features • 🕵️‍♀️ Code of Conduct • 🐞 Report bugs

      1 Reply Last reply Reply Quote 3
    • svalbardsleeperdistrict
      S
      svalbardsleeperdistrict
      last edited by

      Hi, this has been the one thing I've been missing in Vivaldi for years, so I registered for the forums to see if there was any discussion over this potential feature. Have there been any hints from devs that they are exploring the possibility of enabling this?

      barbudo2005
      B
      1 Reply Last reply
      Reply Quote 1
    • barbudo2005
      B
      barbudo2005 @svalbardsleeperdistrict
      last edited by

      @svalbardsleeperdistrict

      Look this post by @kichrot :

      https://forum.vivaldi.net/topic/32599/which-is-the-best-font-set-for-browsing/15

      It works like a charm.

      svalbardsleeperdistrict
      S
      1 Reply Last reply
      Reply Quote 1
    • svalbardsleeperdistrict
      S
      svalbardsleeperdistrict @barbudo2005
      last edited by

      @barbudo2005 Thank you for the reply. I've never used custom scripts for browsers. Where do I need to paste that script? Will it need to be done on a per-website basis for each website?

      barbudo2005
      B
      2 Replies Last reply
      Reply Quote 0
    • barbudo2005
      B
      barbudo2005 @svalbardsleeperdistrict
      last edited by

      @svalbardsleeperdistrict

      1° Install the Tampermonkey extension:

      https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo

      2° Click the icon of the extension and click Dashboard:

      363c87b8-290e-4fa9-b7b9-b683a9dc3f67-image.png

      3° Click the "+" button:

      47f8c214-aa87-4be8-a895-e05fe1dbb039-image.png

      4° Delete the new script headline:

      e1c1a365-9721-4281-9abe-fa50baea4041-image.png

      5° Paste the script by @kichrot.

      6° Replace the font " Helvetica" for the font you prefer:

      9b2753b0-b740-4cef-bf63-884a15f78cee-image.png

      7° Click the File menu and apply Save:

      4efb05c1-f8f0-421f-95c6-2f3d7544825d-image.png

      8° If You only want to replace the font and not the "weight_blur" and "lightens_font_color" modification as I do, use this simplified version:

      // ==UserScript==
      // @name          Correction of readability of text and contrast of images in Chrome
      // @name:ru       Исправление удобочитаемости текста и контрастности изображений в Chrome
      // @description	  Userscript to improve the readability of text and contrast of images in the browser Google Chrome and its derivatives.
      // @author        kichrot
      // @match         *://*/*
      // @include       *://*/*
      // @run-at        document-start
      // @grant         unsafeWindow
      // @compatible    chrome
      // @version       0.4.1
      // ==/UserScript==
      
      var weight = 0; /* The variable changes the weight of the font/Переменная изменяет толщину шрифта */
      var weight_blur = 0.6; /* The variable changes the weight and blurs the borders of the font/Переменная изменяет толщину и размывает границы шрифта */
      var lightens_font_color = 0.2; /* Variable lightens the color of the font/Переменная осветляет цвет шрифта*/
      var font = 'Lato'; /* Variable assigns the font/Переменная назначает шрифт */
      /* Verdana | Arial | Helvetica | HelveticaNeueCyr | Tahoma |Lato| Noto Sans | Open Sans | Manrope | Roboto | Montserrat */
      var unit = 'px'; /* The variable assigns the unit of measure/Переменная присваивает единицу измерения */
      /* px | em | ex | rem | vh | vw */
      
      (function () {
          'use strict';
          var css = document.createElement('style');
          css.innerHTML += [`*{`,
                            `-webkit-text-fill-color:currentColor  !important;`,
                            //`-webkit-text-fill-color:transparent  !important;`,
                            
                            `-webkit-font-smoothing: subpixel-antialiased /*antialiased*/ !important;`,
                            `text-rendering: geometricPrecision !important;`,
          `}`,
          `*:not([class*=\"icon\"]):not([class*=\"ico\"]):not([class*=\"button\"]):not([class*=mjx]):not([class*=vjs]):not([class*=fa]):not([class*=ms-Button-icon]):not([class*=DPvwYc]):not([class*=bb]):not([class*=icon]):not([class*=ll]):not(i):not([role*=button]) {`,
                            `font-family: ${font} ;`,
          `}`,
          `img {`,
                            `image-rendering: -webkit-optimize-contrast !important;`,
          `}`
          ].join("\n");
          document.documentElement.appendChild(css);
      }) ();
      
      svalbardsleeperdistrict
      S
      1 Reply Last reply
      Reply Quote 1
    • barbudo2005
      B
      barbudo2005 @svalbardsleeperdistrict
      last edited by

      @svalbardsleeperdistrict

      It is for all sites not "per-website basis"

      1 Reply Last reply Reply Quote 1
    • svalbardsleeperdistrict
      S
      svalbardsleeperdistrict @barbudo2005
      last edited by

      @barbudo2005 Many thanks! It works like a charm.

      barbudo2005
      B
      1 Reply Last reply
      Reply Quote 1
    • barbudo2005
      B
      barbudo2005 @svalbardsleeperdistrict
      last edited by

      @svalbardsleeperdistrict

      About "per-website basis":

      In the window of Tampermonkey press the ">" button:

      06f9d84d-01f8-4ac2-b470-a0b5641a6af9-image.png

      Select "Exclude ……..":

      1da6bab1-dff7-43fd-bcb7-77c7484c0197-image.png

      svalbardsleeperdistrict
      S
      2 Replies Last reply
      Reply Quote 1
    • svalbardsleeperdistrict
      S
      svalbardsleeperdistrict @barbudo2005
      last edited by

      @barbudo2005 Thank you.

      1 Reply Last reply Reply Quote 0
    • svalbardsleeperdistrict
      S
      svalbardsleeperdistrict @barbudo2005
      last edited by

      @barbudo2005 I have a question. On opening new websites, or reloading ones I have open, sometimes the font setting overrides the default ones, but sometimes not. Sometimes I need to do several reloads for the override to take place. Can this be related to some extension I have installed?

      1 Reply Last reply Reply Quote 0
    • barbudo2005
      B
      barbudo2005
      last edited by

      @svalbardsleeperdistrict

      Look the setting in Tampermonkey extension:

      18cc27f8-16ef-4c8e-b142-585351aa92cc-image.png

      I have to study why It reverts to:

      6f11b065-cafd-438b-9706-94a07ed0e6df-image.png

      svalbardsleeperdistrict
      S
      1 Reply Last reply
      Reply Quote 1
    • svalbardsleeperdistrict
      S
      svalbardsleeperdistrict @barbudo2005
      last edited by

      @barbudo2005 Thank you for the help!

      1 Reply Last reply Reply Quote 0
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    • 1
    • 2
    • 1 / 2
    • First post
      Last post

    Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status