def get_font(self, bold, oblique):
        if bold and oblique:
            return self.fonts['BOLDITALIC']
        elif bold:
            return self.fonts['BOLD']
        elif oblique:
            return self.fonts['ITALIC']
        else:
            return self.fonts['NORMAL']
Create a connection to the message bus used for rpc.
dataset/ETHPy150Open adieu/allbuttonspressed/pygments/formatters/img.py/FontManager.get_font--crossover with--dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/openstack/common/rpc/__init__.py/create_connection