mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-14 19:04:44 +00:00
Add Greek glyph range to ImFontAtlas #5676
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#5676
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm working on an scientific computing application that makes fairly heavy use of Greek letters in the UI.
It would be convenient if ImFontAtlas had a GetGlyphRangesGreek() method so I didn't have to add every Greek letter to the atlas manually.
Feel free to make a PR for it, thank you.
I don't have a fork handy that I can push to and have some other things to work on.
But the Greek and Coptic Unicode range is U+370 to U+3FF. Here's what I have in my code now.
How about U+1F00 Greek Extended, what is that useful for ?
https://unicode.org/charts/PDF/U1F00.pdf
I'm not sure as I don't actually speak the Greek language, I just use the letters in math :)
What about adding a GreekFull glyph range, similar to what you have with Chinese, that adds that range as well as the base one?
Thanks for the PR. I think i'll merge as is for now, I prefer getting feedback on incomplete ranges.
(Anyhow hopefully those functions will eventually be gotten rid of..)
Merged as
e74a50f, thank you!