Giter Club home page Giter Club logo

Comments (9)

dungdao191299 avatar dungdao191299 commented on June 7, 2024 1

yes, i type vietnamese direcly to html.
i check in old version(2.0), it is have more nunito vietnamese font in latest version, have only latin nunito font
is that problem i am face?

As you can see in old _fonts.scss, the fonts were included with @import directive, rather than being included directly as in the new of _fonts.scss.

Therefore, if you want to keep it up the Vietnamese fonts, you can do the following steps:

  • First of all, clone Mazer repository;
  • Next, install its dependencies with yarn install;
  • Once the deps installed, on src/assets/scss/_fonts.scss, change the codes just like on the old of _fonts.scss;
  • After that, you can re-build the assets of Mazer with npm run build command;
  • Finally, open up the builded assets on dist/assets folder. The dist/assets folder contains same as on the zip release file. You can therefore put it on your own project.
  • And here we go, your Vietnamese font is going to work properly.

If the issue still persists, please let me know~~

Screenshots

_fonts.scss

image

Before-after

image image

it working, thank you so much

from mazer.

alfianchii avatar alfianchii commented on June 7, 2024

Is your project using a custom font or automatic translation?

from mazer.

dungdao191299 avatar dungdao191299 commented on June 7, 2024

Is your project using a custom font or automatic translation?

I am using default font (template in zip download release). That is my original web and not translation.

from mazer.

alfianchii avatar alfianchii commented on June 7, 2024

Can you provide to me what font is used in your project?

from mazer.

dungdao191299 avatar dungdao191299 commented on June 7, 2024

Can you provide to me what font is used in your project?

As far as i know that is Nunito font.
image
Is that default font in mazer template?

from mazer.

alfianchii avatar alfianchii commented on June 7, 2024

am using default font (template in zip download release)

Yes, the default font of Mazer is Nunito. But wait, did you type the words in Vietnamese? Lemme know furthermore.

from mazer.

dungdao191299 avatar dungdao191299 commented on June 7, 2024

am using default font (template in zip download release)

Yes, the default font of Mazer is Nunito. But wait, did you type the words in Vietnamese? Lemme know furthermore.

yes, i type vietnamese direcly to html.
i check in old version(2.0), it is have more nunito vietnamese font:
image

in latest version, have only latin nunito font:
image
is that problem i am face?

from mazer.

alfianchii avatar alfianchii commented on June 7, 2024

yes, i type vietnamese direcly to html.

i check in old version(2.0), it is have more nunito vietnamese font in latest version, have only latin nunito font

is that problem i am face?

As you can see in old _fonts.scss, the fonts were included with @import directive, rather than being included directly as in the new of _fonts.scss.

Therefore, if you want to keep it up the Vietnamese fonts, you can do the following steps:

  • First of all, clone Mazer repository;
  • Next, install its dependencies with yarn install;
  • Once the deps installed, on src/assets/scss/_fonts.scss, change the codes just like on the old of _fonts.scss;
  • After that, you can re-build the assets of Mazer with npm run build command;
  • Finally, open up the builded assets on dist/assets folder. The dist/assets folder contains same as on the zip release file. You can therefore put it on your own project.
  • And here we go, your Vietnamese font is going to work properly.

If the issue still persists, please let me know~~

Screenshots

_fonts.scss

image

Before-after

image
image

from mazer.

dungdao191299 avatar dungdao191299 commented on June 7, 2024

yes, i type vietnamese direcly to html.
i check in old version(2.0), it is have more nunito vietnamese font in latest version, have only latin nunito font
is that problem i am face?

As you can see in old _fonts.scss, the fonts were included with @import directive, rather than being included directly as in the new of _fonts.scss.

Therefore, if you want to keep it up the Vietnamese fonts, you can do the following steps:

  • First of all, clone Mazer repository;
  • Next, install its dependencies with yarn install;
  • Once the deps installed, on src/assets/scss/_fonts.scss, change the codes just like on the old of _fonts.scss;
  • After that, you can re-build the assets of Mazer with npm run build command;
  • Finally, open up the builded assets on dist/assets folder. The dist/assets folder contains same as on the zip release file. You can therefore put it on your own project.
  • And here we go, your Vietnamese font is going to work properly.

If the issue still persists, please let me know~~

Screenshots

_fonts.scss

image

Before-after

image image

hi, thank your solution. To be honest, i am newbie in front-end program so i still learning. My level only use vanila js and html , css. I tried your instructions but it still doesn't complete. Can you send me your assets after re-build. I promise i will learn nodejs well after that

from mazer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.