[librsvg: 1/18] Rename UnicodeBidi::Override to UnicodeBidi::BidiOverride
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/18] Rename UnicodeBidi::Override to UnicodeBidi::BidiOverride
- Date: Tue, 26 Oct 2021 02:33:04 +0000 (UTC)
commit e9d02f73896ced2db635fd3d35fc9be26fdf144a
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Oct 25 12:06:44 2021 -0500
Rename UnicodeBidi::Override to UnicodeBidi::BidiOverride
The next commit will introduce IsolateOverride, so we don't want ambiguity.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/621>
src/property_defs.rs | 2 +-
src/text.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/property_defs.rs b/src/property_defs.rs
index e9cd1352..d88454ed 100644
--- a/src/property_defs.rs
+++ b/src/property_defs.rs
@@ -1022,7 +1022,7 @@ make_property!(
identifiers:
"normal" => Normal,
"embed" => Embed,
- "bidi-override" => Override,
+ "bidi-override" => BidiOverride,
);
make_property!(
diff --git a/src/text.rs b/src/text.rs
index 1c0c11a7..2606e890 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -1063,7 +1063,7 @@ fn create_pango_layout(draw_ctx: &DrawingCtx, props: &FontProperties, text: &str
pango_context.set_base_gravity(pango::Gravity::from(props.writing_mode));
match (props.unicode_bidi, props.direction) {
- (UnicodeBidi::Override, _) | (UnicodeBidi::Embed, _) => {
+ (UnicodeBidi::BidiOverride, _) | (UnicodeBidi::Embed, _) => {
pango_context.set_base_dir(pango::Direction::from(props.direction));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]