[poincare/unit][kandinsky/font] Use Greek capital letter omega as Ohm unit symbol

This commit is contained in:
Ruben Dashyan
2020-01-29 15:27:45 +01:00
committed by Léa Saviot
parent 3308427dd4
commit 7964a2ae6a
5 changed files with 4 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -131,6 +131,7 @@ uint32_t CodePoints[] = {
0x393, // Γ // GREEK CAPITAL LETTER GAMMA
0x394, // Δ // GREEK CAPITAL LETTER DELTA
0x3a9, // Ω // GREEK CAPITAL LETTER OMEGA
0x3b8, // θ // GREEK SMALL LETTER THETA
0x3bb, // λ // GREEK SMALL LETTER LAMDA
0x3bc, // μ // GREEK SMALL LETTER MU

View File

@@ -59,7 +59,7 @@ public:
CodePoint m_codePoint;
GlyphIndex m_glyphIndex;
};
static constexpr GlyphIndex IndexForReplacementCharacterCodePoint = 132;
static constexpr GlyphIndex IndexForReplacementCharacterCodePoint = 133;
GlyphIndex indexForCodePoint(CodePoint c) const;
void setGlyphGreyscalesForCodePoint(CodePoint codePoint, GlyphBuffer * glyphBuffer) const;

View File

@@ -341,9 +341,9 @@ public:
LongScalePrefixes, LongScalePrefixesCount),
},
ElectricResistanceRepresentatives[] = {
Representative("Ohm", "_kg*_m^2*_s^-3*_A^-2",
Representative("Ω", "_kg*_m^2*_s^-3*_A^-2",
Representative::Prefixable::Yes,
LongScalePrefixes, LongScalePrefixesCount), //FIXME Omega CodePoint?
LongScalePrefixes, LongScalePrefixesCount),
},
ElectricConductanceRepresentatives[] = {
Representative("S", "_A^2*_s^3*_kg^-1*_m^-2",