question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subsets parameter and download

See original GitHub issue

Due to the recent changes in Chrome’s cache partitioning, I wanted to use the download mode.

My config: buildModules: [ [ "@nuxtjs/google-fonts", { families: { Sarabun: { wght: [400, 700] } }, subsets: ['latin'], download: true } ] ]

But the result is unexpected:

image

Am I missing something? Tried deleting both folders to redownload. Same result.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
retroriffcommented, May 6, 2021

Subsets and wght are not working with download: true:

googleFonts: {
    display: 'swap',
    download: true,
    families: {
      Roboto:  {
        wght: [300, 700]
      }
    },
    subsets: 'latin'
  },

I am getting:

@font-face {
                font-family: Roboto;
                font-style: normal;
                font-weight: 400;
                font-display: swap;
                src: url(/_nuxt/fonts/Roboto-400-cyrillic-ext1.493afe7.woff2) format("woff2");
                unicode-range: U+0460-052f, U+1c80-1c88, U+20b4, U+2de0-2dff, U+a640-a69f, U+fe2e-fe2f;
            }
            @font-face {
                font-family: Roboto;
                font-style: normal;
                font-weight: 400;
                font-display: swap;
                src: url(/_nuxt/fonts/Roboto-400-cyrillic2.5e49381.woff2) format("woff2");
                unicode-range: U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116;
            }
            ...
1reaction
emirkonicommented, Dec 9, 2022

@ricardogobbosouza this issue still occurs, even on the last version, subset + fw doesn’t work at all

Read more comments on GitHub >

github_iconTop Results From Across the Web

4: Active parameter subsets | Download Scientific Diagram
This paper presents a Hamilton's principle for distributed control of infinite-dimensional systems modeled by a distributed form of the Euler-Lagrange method.
Read more >
How to subset and download Copernicus Marine data in R?
R Script. Step 1. Credentials and work directory. Step 2. Download parameters. Step 3. Create motuclient command line. Step 4. Start download. What's...
Read more >
How to download and obtain parameter and pixel ... - GES DISC
How to download and obtain parameter and pixel subset of AIRS NRT data using ... To download Atmospheric Infrared Sounder (AIRS) Near-Real Time...
Read more >
Topic 5 Subset Selection | MATH 253: Machine Learning
You can download a template RMarkdown file to start from here. ... metrics for the different subset sizes back_step$results # What tuning parameter...
Read more >
Lab 8 - Subset Selection in R - Smith College
Download the rMarkdown or Jupyter Notebook version. 6.5.1 Best Subset Selection¶. Here we apply the best subset selection approach to the Hitters data....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found