Power BI fonts that are compatable with a MAC - powerbi

I have amended my JSON file within my Power BI custom theme to have TT Commons and when viewing the dashboard on a window machine, the font is correct. However, when a MAC users sees the dashboard, the font is totally different.
Does anyone know how to make the font compatable for a MAC user, or knows the fonts which will work across a windows and MAC machine?

PowerBI handling of fonts is quite poor at the moment and will always depend on the fonts installed by the user. If you want something that is consistent across MAC and PC, stick to Verdana, Arial Black, Georgia etc.

Related

Can I restrain Qt to only use bundled fonts and never rely on system fonts?

In our Qt5 application we bundle a custom font as a resource. We use only this font in the application, and rely on no other fonts.
The font we use has a whooping 128 variations (regular, bold, black, extrabold, extrabold italic, semibold, thin, condensed etc). and we have naturally decided to only bundle the tiny subset of those variations that we actually use.
To make matters more complex, the font we use exists in several versions with small changes between them.
On my development computer I have installed all the 128 variations of one version of the font in the OS itself while on the clients that run the software we can't really tell if the fonts are present or not in their OS, and if present, in which version.
We have experienced cases where the fonts looks severely different between my development computer and on the end clients. We use the font in a virtual keyboard widget and some symbols on the keys show up OK on my computer while they are missing (showing the empty box character) on the client.
So my question is, can we somehow restrain the font system in Qt to only use the fonts provided by the resources bundled with the program? That would mean that any reference to system default fonts such as Arial would simply result in our font to be used instead, or simply denied with an error.
Any insights and tips are warmly welcomed.
Thanks!

Google Glass GDK Theme for XML layout

Is there a theme that we can use in Eclipse or Android Studio for doing XML layouts? I know we should use:
<style name="CustomTheme" parent="#android:style/Theme.DeviceDefault">
to get the Glass theme on the device, but how about while laying out in the editor?
Since it looks like the XML got eaten up in your original post, I'll repeat the tips to get the Glass theme on the device: remove any android:theme attributes that your IDE has automatically inserted, or if you need a custom theme, have it inherit from Theme.DeviceDefault (see GDK: Glass theme and UI widgets).
Eclipse and Android Studio do not yet provide an out-of-the-box exact Glass layout experience. You can approximate it fairly well by creating a device definition in the AVD Manager that matches the screen resolution on Glass (640 × 360, notlong, hdpi) as suggested by this post.
Then, select that device definition in your layout editor. You may also want to select Theme.DeviceDefault.FullScreen.NoActionBar to remove the status bar and action bar in your editor preview.
You might want to look at how I accomplished getting the Glass theme (which is just no theme as discussed in https://developers.google.com/glass/develop/gdk/ui/theme-widgets) in a Hello World app for Glass. Since the ADT in Eclipse creates a Theme by default and assigns it to the application in AndroidManifest.xml, I just had to remove it.
Here is a Git commit that shows this in action: https://github.com/luisdelarosa/HelloGlass/commit/a58208ddef2b9b25ac605735da0dd93860492477
Specifically I looked for this line in AndroidManifest.xml and removed it:
android:theme="#style/AppTheme"
I also removed the res/values/styles.xml since it was not being used anymore - it only had the themes in it.
As for having a graphical editor for Glass layouts, I don't think this is that well supported yet since we are still in Sneak Peek mode. Perhaps once we get to the Developer Preview mode, the Glass team will create editors that will allow us to design for the Glass UI exactly.

Windows 7 current startup/shutdown bitmaps

Someone can tell me how to get CURRENTLY USED startup/shutdown bitmaps or animations of Windows 7 ? I know they are changed based on theme used. I am coding little tool to edit the current theme images, i dont want to use existing tool.
Thanks in advance.
As #Red Serpent wrote in his comment, these background images are not part of the theme, instead they are provided by the OEM, hence won't change when you change Windows theme.
It is possible to change the login, logout and lock screen backgrounds independently from the current theme. You can achive this by altering a registry setting and creating/modifying some dedicated image files deep in the Windows folder. The required steps are described in this blog post.
You can extract and change the OEM login screen background images by locating and reading these files. However, the default Windows 7 login screen cannot be extracted as it resides somewhere else, maybe bundled in a resource file with a dozen of other images.

Is it possible to debug Android apps on Acer Liquid E from Windows 7?

I'd like to buy an Acer Liquid E as an Android test phone (normal size, high density screen, android v2.1 up to 2.2).
Before actually doing that, it'll be great to know if anyone had any bad experience with it. My dev environment is Eclipse + ADT on Windows 7 64 bits. I'm thinking about things like USB drivers, logcat displayed correctly, breakpoints hit, and so on.
I read about this issue, but it's from 2009 and in the end it was solved anyway.
Thanks.
This is not exactly the answer to this question, but I'll post it in case it might be useful for some other developer in need.
In the end I did not go into buying this exact phone model. Instead I bought an Acer Liquid MT S120 (or Metal) phone. In order to be able to debug apps on it, I just had to look for official Acer Windows drivers.
Those where relatively easy to find (here version 1.0): the only quirk was that I had to select the former Android version (2.2 instead of actual 2.3) in order to see the drivers under the Application tab, otherwise they would not show.
Apart from that, debugging experience was very straightforward: plug USB in, and Eclipse/adb where able to see the device. APK upload times are really fast (I guess this holds for any USB-connected device too). The same holds for integration/functional tests.

Fonts in a multi-platform environment

What is the best way to deal with fonts in a multi-platform distributed system? If I want to use a common font across all systems to show to the user, what's the best way to do this. From the little I've been reading each platform looks to have fonts that are of the same family (ie serif, sans-serif) but with different names. CSS looks to have the functionality baked in where it will make the best selection it can of font on the users machine. Is there similar functionality either in system libraries or external libraries for Windows & Linux. I'm using C++ mainly?
Can someone point me in the right direction for documentation as well?
Thanks
fontconfig is a cross-platform library for finding fonts by either direct name (Times Roman) or common aliases like serif - it's what most modern Linux software, like the GNOME & KDE desktops, use to find fonts, and is used in conjunction with libraries like Pango for text layout and FreeType for font rasterizing.
I'd try Pango. AFAIK it is used by GTK+, Mozilla and Google Chrome (not sure about the latter).