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

[non-issue] Streaming font_lib_efigs_pc.gfx #3020

Closed
FatCatTuxedo opened this issue Dec 19, 2024 · 4 comments
Closed

[non-issue] Streaming font_lib_efigs_pc.gfx #3020

FatCatTuxedo opened this issue Dec 19, 2024 · 4 comments
Labels

Comments

@FatCatTuxedo
Copy link

What happened?

Attempting to stream this in a resource results in nothing happening, the file is not replaced.

Expected result

font_lib_efigs_pc.gfx should be replaced with the one in the resource

Reproduction steps

  1. Create a resource and attempt to stream a different font_lib_efigs_pc.gfx file
  2. the file will remain the original

Importancy

Slight inconvenience

Area(s)

FiveM

Specific version(s)

All

Additional information

No response

@FatCatTuxedo FatCatTuxedo added bug triage Needs a preliminary assessment to determine the urgency and required action labels Dec 19, 2024
@FatCatTuxedo
Copy link
Author

I heavily suspect it's something to do with how FiveM can load custom fonts?

https://github.com/citizenfx/fivem/blob/c9700385dfad9008c8b7888a61d3901451c4dc29/code/components/gta-streaming-five/src/sfFontStuff.cpp

If so is there a way to replace one of the GTA5 original fonts using these methods as that's what I'm trying to achieve anyway

@FatCatTuxedo
Copy link
Author

Kind of a non-issue since you can just add a custom font then use html in scaleform function calls to change them to use said font

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Dec 21, 2024
@YasinY
Copy link

YasinY commented Jan 9, 2025

it's not a non issue, as e.g. i want to stream an empty gfx file so the text doesn't render at all, so i don't have to call any hidehud native.

@FatCatTuxedo
Copy link
Author

Its annoying you can't replace but its for a good reason since cfx injects a custom one that supports more fonts

@FatCatTuxedo FatCatTuxedo changed the title Streaming font_lib_efigs_pc.gfx [non-issue] Streaming font_lib_efigs_pc.gfx Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants