Closed wassim0asaad closed 1 year ago
hello, whats your website address?
99emlak.com
Android default font don't support the ₺
currency symbol. You can use Roboto font by Google in your app.
You can follow this guide to integrate new font in Houzi: Add new font
I've attached Roboto here: Roboto.zip Download it and move the Roboto folder following folder:
Project_HOME > fonts
then open your pubspec file at Project_HOME > pubspec.yaml
Scroll to fonts section and add following lines:
fonts:
- family: Roboto
fonts:
- asset: fonts/Roboto/Roboto-Black.ttf
- asset: fonts/Roboto/Roboto-BlackItalic.ttf
- asset: fonts/Roboto/Roboto-Bold.ttf
- asset: fonts/Roboto/Roboto-BoldItalic.ttf
- asset: fonts/Roboto/Roboto-Italic.ttf
- asset: fonts/Roboto/Roboto-Light.ttf
- asset: fonts/Roboto/Roboto-LightItalic.ttf
- asset: fonts/Roboto/Roboto-Medium.ttf
- asset: fonts/Roboto/Roboto-MediumItalic.ttf
- asset: fonts/Roboto/Roboto-Regular.ttf
- asset: fonts/Roboto/Roboto-Thin.ttf
- asset: fonts/Roboto/Roboto-ThinItalic.ttf
KEEP IN MIND: tabs at line start matter.
Now open file at Project_HOME > lib > Hooks.dart
and look for getFontHook()
return "Roboto" and it should look like below:
class CustomFontsHooks {
static getFontHook() {
FontsHook fontsHook = (Locale locale) {
return "Roboto";
};
return fontsHook;
}
}
Uninstall the app on your simulator/device. And re-install.
Thanks alot ..will try it tomorrow .first thing i will wake up for
Hello, did it work for you? Please update.
Hello, did it work for you? Please update?
As mentioned in the previous comments, if price symbol isn't showing, it can be due to the supplied custom font not supporting that price symbol. In this case, always look for a font that supports the pricing symbol or you can provide custom font for price label. (requires customization in code atm).
Closing this issue, open new issue when required.
hi . hope you doing good i did add turkish lira currency . but the symbol not showing as you see in pics , eaven if i change to letters ,will have same problem https://freeimage.host/i/Hc6MYc7 https://freeimage.host/i/Hc6M7FS https://freeimage.host/i/Hc6MRP2 https://freeimage.host/i/Hc6MAMl https://freeimage.host/i/Hc6MAMl