Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: fontello is not working #1704

Open
rendomnet opened this issue Jan 22, 2025 · 1 comment
Open

[Bug]: fontello is not working #1704

rendomnet opened this issue Jan 22, 2025 · 1 comment
Labels
bug waiting Waiting on OP response

Comments

@rendomnet
Copy link

rendomnet commented Jan 22, 2025

Which package are you using?

@react-native-vector-icons/*

What platform(s) does this occur on?

iOS

What happened?

For fontello cutom font to work we dont need to copy our fonts to iOS and Android folder? This should be handled automaticaly when we use

import createIconSet from '@react-native-vector-icons/fontello';
import fontelloConfig from '../assets/fonts/config.json';

const Icon = createIconSet(fontelloConfig);

and

  "reactNativeVectorIcons": {
    "fontDir": "src/assets/fonts"
  }

?

Because currently I cant make my custom fonts to work, it just shows question mark.

Relevant log output

Minimal reproducible example

No response

Your computer environment

System:
  OS: macOS 15.2
  CPU: (10) arm64 Apple M2 Pro
  Memory: 287.05 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.20.4
    path: ~/.nvm/versions/node/v18.20.4/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v18.20.4/bin/yarn
  npm:
    version: 10.7.0
    path: ~/.nvm/versions/node/v18.20.4/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/lib/ruby/gems/3.3.0/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.1
      - iOS 18.1
      - macOS 15.1
      - tvOS 18.1
      - visionOS 2.1
      - watchOS 11.1
  Android SDK:
    API Levels:
      - "35"
    Build Tools:
      - 34.0.0
      - 35.0.0
    System Images:
      - android-35 | Google Play ARM 64 v8a
      - android-35 | Google APIs ATD ARM 64
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12550806
  Xcode:
    version: 16.1/16B40
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.13
    path: /usr/bin/javac
  Ruby:
    version: 3.3.6
    path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.3
    wanted: 0.76.3
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true
@rendomnet rendomnet added the bug label Jan 22, 2025
@johnf
Copy link
Collaborator

johnf commented Jan 24, 2025

@rendomnet are able to provide a repro that I can debug?

@johnf johnf added the waiting Waiting on OP response label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug waiting Waiting on OP response
Projects
None yet
Development

No branches or pull requests

2 participants