nuxt-modules / og-image

Generate OG Images with Vue templates in Nuxt.
https://nuxtseo.com/og-image
415 stars 27 forks source link

feat: support locally loaded custom fonts #44

Closed harlan-zw closed 1 year ago

harlan-zw commented 1 year ago

Description

Allows custom local fonts to be loaded easily through the config.

 ogImage: {
    fonts: [
      {
        name: 'optieinstein',
        weight: 800,
        path: '/OPTIEinstein-Black.otf',
      }
  ]
}

Linked Issues

https://github.com/harlan-zw/nuxt-og-image/issues/42

Additional context

netlify[bot] commented 1 year ago

Deploy Preview for nuxt-og-playground ready!

Name Link
Latest commit babadf8627631dd772514a60143c12868bb76eaa
Latest deploy log https://app.netlify.com/sites/nuxt-og-playground/deploys/644cf4667cfce9000785566b
Deploy Preview https://deploy-preview-44--nuxt-og-playground.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.